Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002188, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 90.88 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2854/0.2854, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004488, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.145, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002552/0.1476, allocations: 1.302 MB / 491.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1496, allocations: 0.8792 MB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.1497, allocations: 0 / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.15, allocations: 19.91 kB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1502, allocations: 43.77 kB / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.1509, allocations: 143.6 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1511, allocations: 43.89 kB / 492.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1512, allocations: 15.98 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.1513, allocations: 19.92 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1515, allocations: 19.86 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1515, allocations: 0 / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1517, allocations: 39.91 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.1517, allocations: 11.98 kB / 492.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.1518, allocations: 37.64 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.152, allocations: 76.17 kB / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.152, allocations: 0 / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.152, allocations: 0 / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1521, allocations: 0 / 492.9 MB, free: 6.656 MB / 330.7 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.000662/0.1527, allocations: 391 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1528, allocations: 15.95 kB / 493.3 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1529, allocations: 7.906 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1532, allocations: 198.6 kB / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1532, allocations: 0 / 493.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1532, allocations: 4 kB / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1535, allocations: 75.39 kB / 493.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1536, allocations: 3.906 kB / 493.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1536, allocations: 4 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1536, allocations: 4 kB / 493.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.1539, allocations: 47.95 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.1545, allocations: 316.7 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1547, allocations: 42.56 kB / 493.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1548, allocations: 4.094 kB / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1548, allocations: 38.55 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.1548, allocations: 0 / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001328/0.1562, allocations: 261.2 kB / 494.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1563, allocations: 81.11 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1565, allocations: 141 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1565, allocations: 33.64 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1566, allocations: 166.4 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1567, allocations: 19.7 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.1567, allocations: 4 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1569, allocations: 310.8 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1571, allocations: 51.97 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.1574, allocations: 57.67 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1576, allocations: 52 kB / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1577, allocations: 0 / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005583/0.1582, allocations: 137.8 kB / 495.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1583, allocations: 4 kB / 495.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1583, allocations: 0 / 495.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1583, allocations: 3.953 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.1585, allocations: 35.91 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1586, allocations: 4.062 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.1587, allocations: 16 kB / 495.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1587, allocations: 4 kB / 495.3 MB, free: 3.949 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1589, allocations: 121.8 kB / 495.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.1589, allocations: 7.906 kB / 495.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/0.1596, allocations: 154.3 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1596, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.1596, allocations: 3.953 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1596, allocations: 3.938 kB / 495.6 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009608/0.1606, allocations: 426.5 kB / 496 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1606, allocations: 288 / 496 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.1608, allocations: 23.98 kB / 496.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.1609, allocations: 8 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1609, allocations: 3.953 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1609, allocations: 0 / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1609, allocations: 0 / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.1615, allocations: 243.3 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1616, allocations: 85 kB / 496.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.1617, allocations: 8 kB / 496.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1619, allocations: 11.95 kB / 496.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.1619, allocations: 11.98 kB / 496.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.162, allocations: 0 / 496.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1621, allocations: 115.2 kB / 496.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1621, allocations: 0 / 496.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.1625, allocations: 23.91 kB / 496.6 MB, free: 2.613 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.1638, allocations: 445.7 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.1644, allocations: 107.9 kB / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1644, allocations: 4 kB / 497.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1647, allocations: 51.97 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1651, allocations: 20.23 kB / 497.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.1657, allocations: 246.7 kB / 497.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1661, allocations: 0.7004 MB / 498.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1662, allocations: 15.44 kB / 498.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1662, allocations: 0 / 498.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of Templates: time 0.005726/0.172, allocations: 1.875 MB / 0.4883 GB, free: 15.16 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches