Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009224, allocations: 96.94 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 184.9 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4614/0.4614, allocations: 43.58 MB / 315 MB, free: 9.074 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005219, allocations: 12 kB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1551, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002313/0.1574, allocations: 1.275 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1588, allocations: 0.9142 MB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.1588, allocations: 0 / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1591, allocations: 15.92 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1592, allocations: 39.84 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1595, allocations: 63.92 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1596, allocations: 47.84 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1597, allocations: 23.97 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.1598, allocations: 19.86 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1599, allocations: 19.92 kB / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.16, allocations: 0 / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1601, allocations: 51.97 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.1601, allocations: 11.86 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1602, allocations: 41.58 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1604, allocations: 91.98 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1604, allocations: 0 / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1604, allocations: 0 / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1604, allocations: 4 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004705/0.1609, allocations: 367.3 kB / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1609, allocations: 12.03 kB / 446.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.161, allocations: 8.844 kB / 446.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1612, allocations: 188.2 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1612, allocations: 4.375 kB / 446.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1612, allocations: 384 / 446.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1614, allocations: 71.47 kB / 446.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1614, allocations: 7.938 kB / 446.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1614, allocations: 0 / 446.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1614, allocations: 0 / 446.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.1615, allocations: 31.97 kB / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1619, allocations: 268.9 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1622, allocations: 50.48 kB / 447 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.1622, allocations: 12.86 kB / 447.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1622, allocations: 3.984 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1623, allocations: 42.56 kB / 447.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1623, allocations: 0 / 447.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005659/0.1629, allocations: 153.4 kB / 447.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1629, allocations: 77.11 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1631, allocations: 133.8 kB / 447.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1631, allocations: 25.7 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1631, allocations: 100.1 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1632, allocations: 7.812 kB / 447.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1632, allocations: 13.72 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1633, allocations: 322.8 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.1634, allocations: 27.98 kB / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.1635, allocations: 33.7 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1636, allocations: 56.8 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1636, allocations: 0 / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.1638, allocations: 89.58 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1638, allocations: 4 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1638, allocations: 0 / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1639, allocations: 3.938 kB / 448.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.1639, allocations: 19.98 kB / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1639, allocations: 0 / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.164, allocations: 8 kB / 448.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.164, allocations: 0 / 448.2 MB, free: 7.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.1641, allocations: 129.7 kB / 448.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1641, allocations: 7.906 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.1644, allocations: 97.62 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1644, allocations: 0 / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1644, allocations: 4.312 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1644, allocations: 288 / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.1648, allocations: 354.5 kB / 448.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1648, allocations: 3.984 kB / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.1649, allocations: 12 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1649, allocations: 3.984 kB / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1649, allocations: 0 / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1649, allocations: 3.938 kB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1649, allocations: 7.938 kB / 448.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1652, allocations: 187.4 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1652, allocations: 89.02 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1653, allocations: 3.984 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.1653, allocations: 11.94 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1654, allocations: 4 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1654, allocations: 0 / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1655, allocations: 107.2 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1655, allocations: 0 / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1658, allocations: 24 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009851/0.1668, allocations: 446.7 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.167, allocations: 51.97 kB / 449.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.167, allocations: 0 / 449.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.1671, allocations: 35.92 kB / 449.7 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1674, allocations: 11.98 kB / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.1677, allocations: 172.7 kB / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1681, allocations: 0.6887 MB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.1682, allocations: 12 kB / 450.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1682, allocations: 15.42 kB / 450.6 MB, free: 5.371 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1682, allocations: 0 / 450.6 MB, free: 5.371 MB / 382.1 MB Notification: Performance of Templates: time 0.003709/0.1719, allocations: 1.296 MB / 451.9 MB, free: 4.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches