Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 96.94 kB / 16.02 MB, free: 84 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.001698/0.001698, allocations: 178.4 kB / 16.91 MB, free: 6.633 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.104/2.104, allocations: 205.4 MB / 223.1 MB, free: 5.492 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.4226/0.4226, allocations: 43.58 MB / 315 MB, free: 9.031 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.0005423/0.0005426, allocations: 20 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002313/0.155, allocations: 1.333 MB / 444.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.1558, allocations: 339.6 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.1559, allocations: 0 / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.1565, allocations: 447.2 kB / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1569, allocations: 243.6 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1573, allocations: 151.7 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1576, allocations: 163.6 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1577, allocations: 20.27 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1578, allocations: 103.8 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.158, allocations: 207.6 kB / 446.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1581, allocations: 0 / 446.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1582, allocations: 31.98 kB / 446.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1583, allocations: 79.69 kB / 446.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1584, allocations: 124.7 kB / 446.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1587, allocations: 250.9 kB / 446.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1587, allocations: 0 / 446.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.019e-06/0.1587, allocations: 0 / 446.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1587, allocations: 7.938 kB / 446.9 MB, free: 9.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000754/0.1595, allocations: 0.595 MB / 447.5 MB, free: 8.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1595, allocations: 8.031 kB / 447.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1596, allocations: 36.47 kB / 447.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.16, allocations: 300.1 kB / 447.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.16, allocations: 4.375 kB / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.16, allocations: 4.375 kB / 447.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1602, allocations: 73.78 kB / 447.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1603, allocations: 0 / 447.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1603, allocations: 0 / 447.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1603, allocations: 4 kB / 447.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1604, allocations: 51.84 kB / 448 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1611, allocations: 404.6 kB / 448.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1612, allocations: 58.53 kB / 448.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.1613, allocations: 28.94 kB / 448.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.1614, allocations: 7.938 kB / 448.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1614, allocations: 30.56 kB / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1614, allocations: 0 / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000937/0.1623, allocations: 347.9 kB / 448.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1624, allocations: 51.41 kB / 448.9 MB, free: 7.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.1632, allocations: 0.8535 MB / 449.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1633, allocations: 25.7 kB / 449.8 MB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.1635, allocations: 208.1 kB / 450 MB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1635, allocations: 31.56 kB / 450 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1635, allocations: 21.7 kB / 450 MB, free: 6.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.1638, allocations: 358.7 kB / 450.4 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1639, allocations: 43.97 kB / 450.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.164, allocations: 51.95 kB / 450.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1643, allocations: 100.8 kB / 450.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1643, allocations: 4 kB / 450.6 MB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000313/0.1646, allocations: 173.1 kB / 450.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1646, allocations: 8 kB / 450.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1646, allocations: 0 / 450.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1647, allocations: 0 / 450.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1648, allocations: 27.97 kB / 450.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1648, allocations: 3.938 kB / 450.8 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1649, allocations: 15.94 kB / 450.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1649, allocations: 7.984 kB / 450.8 MB, free: 5.324 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 (7): * Single equations (assignments): 7 * 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 0.0001842/0.1651, allocations: 213.8 kB / 451 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1652, allocations: 43.44 kB / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1656, allocations: 201.7 kB / 451.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1656, allocations: 3.984 kB / 451.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1656, allocations: 0 / 451.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1656, allocations: 7.938 kB / 451.2 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.1663, allocations: 0.5141 MB / 451.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1663, allocations: 0 / 451.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.1664, allocations: 31.92 kB / 451.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1664, allocations: 0 / 451.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1664, allocations: 3.938 kB / 451.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1664, allocations: 0 / 451.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1664, allocations: 0 / 451.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.1668, allocations: 270.9 kB / 452.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.1669, allocations: 116.5 kB / 452.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1669, allocations: 7.875 kB / 452.2 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.167, allocations: 15.98 kB / 452.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1671, allocations: 8 kB / 452.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1671, allocations: 4 kB / 452.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006007/0.1677, allocations: 0.6472 MB / 452.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1677, allocations: 3.938 kB / 452.9 MB, free: 3.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.168, allocations: 24 kB / 452.9 MB, free: 3.117 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 (7): * Single equations (assignments): 7 * 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.001/0.169, allocations: 410.5 kB / 453.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1693, allocations: 99.94 kB / 453.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1693, allocations: 0 / 453.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1695, allocations: 63.89 kB / 453.4 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.1699, allocations: 25.91 kB / 453.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1712, allocations: 0.8923 MB / 454.4 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1717, allocations: 0.8302 MB / 455.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.1718, allocations: 16.3 kB / 455.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1718, allocations: 11.44 kB / 455.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1718, allocations: 4 kB / 455.2 MB, free: 0.75 MB / 382.1 MB Notification: Performance of Templates: time 0.2338/0.4056, allocations: 1.43 MB / 456.7 MB, free: 45.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches