Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 67.58 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 62.45 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004115/0.153, allocations: 2.036 MB / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1554, allocations: 1.239 MB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1556, allocations: 4 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1559, allocations: 55.52 kB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.1565, allocations: 207.2 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1575, allocations: 433.3 kB / 484.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.1579, allocations: 287.2 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1581, allocations: 64.64 kB / 485 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.1584, allocations: 131.5 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.1586, allocations: 191.2 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.1587, allocations: 12 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1588, allocations: 63.98 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.159, allocations: 139.5 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1592, allocations: 170.6 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1596, allocations: 366.9 kB / 486.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1597, allocations: 0 / 486.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1597, allocations: 0 / 486.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.1597, allocations: 3.938 kB / 486.1 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001101/0.1608, allocations: 0.7774 MB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.1609, allocations: 13.11 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.1612, allocations: 64.27 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.1618, allocations: 455.7 kB / 487.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1618, allocations: 8.375 kB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1619, allocations: 16.12 kB / 487.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1622, allocations: 135.2 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1622, allocations: 0 / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1622, allocations: 0 / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1622, allocations: 4 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.1624, allocations: 79.88 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1636, allocations: 0.6761 MB / 488.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.1639, allocations: 109.2 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.164, allocations: 41.83 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.1641, allocations: 8 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1641, allocations: 38.5 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1641, allocations: 0 / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001549/0.1657, allocations: 0.5218 MB / 489 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.1658, allocations: 77.11 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.1669, allocations: 0.8945 MB / 490 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1669, allocations: 29.7 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1672, allocations: 252.3 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.1672, allocations: 51.19 kB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.1673, allocations: 33.7 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.1675, allocations: 382.7 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1677, allocations: 55.91 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.1679, allocations: 72.48 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1683, allocations: 137.7 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1683, allocations: 0 / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005023/0.1688, allocations: 224.9 kB / 491.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1688, allocations: 6.5 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1688, allocations: 0 / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1689, allocations: 0 / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1691, allocations: 39.97 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1691, allocations: 8 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1692, allocations: 7.984 kB / 491.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1693, allocations: 4 kB / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002375/0.1695, allocations: 213.7 kB / 491.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1696, allocations: 59.25 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.1702, allocations: 266.5 kB / 491.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1703, allocations: 0 / 491.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1703, allocations: 3.938 kB / 491.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1703, allocations: 7.984 kB / 491.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1714, allocations: 0.7712 MB / 492.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1714, allocations: 3.938 kB / 492.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1715, allocations: 47.91 kB / 492.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1716, allocations: 0 / 492.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1716, allocations: 4 kB / 492.6 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1716, allocations: 3.938 kB / 492.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1716, allocations: 0 / 492.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.1721, allocations: 394.1 kB / 493 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1723, allocations: 136.4 kB / 493.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.1724, allocations: 4 kB / 493.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1725, allocations: 19.86 kB / 493.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.1726, allocations: 15.98 kB / 493.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1726, allocations: 11.98 kB / 493.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.1734, allocations: 0.6513 MB / 493.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1734, allocations: 0 / 493.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.1737, allocations: 51.91 kB / 493.9 MB, free: 7.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009481/0.1747, allocations: 399.6 kB / 494.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.1751, allocations: 151.8 kB / 494.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1751, allocations: 0 / 494.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.1753, allocations: 83.83 kB / 494.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.176, allocations: 85.72 kB / 494.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1774, allocations: 0.9213 MB / 495.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1779, allocations: 0.8497 MB / 496.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.178, allocations: 43.42 kB / 496.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.178, allocations: 0 / 496.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of Templates: time 0.00936/0.1874, allocations: 5.578 MB / 0.4902 GB, free: 15.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches