Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 107.4 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 61.09 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1451, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003361/0.1485, allocations: 2.081 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.15, allocations: 1.045 MB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1501, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1503, allocations: 31.83 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1507, allocations: 143.5 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.1515, allocations: 403.3 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1518, allocations: 279 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.152, allocations: 56.7 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1522, allocations: 115.5 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1524, allocations: 183.3 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1524, allocations: 12 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1525, allocations: 55.97 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1527, allocations: 139.5 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1528, allocations: 162.6 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1532, allocations: 358.9 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1532, allocations: 0 / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1532, allocations: 0 / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1532, allocations: 0 / 473.6 MB, free: 9.801 MB / 350.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.00096/0.1542, allocations: 0.7619 MB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1542, allocations: 12.03 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1543, allocations: 52.28 kB / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.1547, allocations: 443.7 kB / 474.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1548, allocations: 12.38 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.1548, allocations: 16.12 kB / 474.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1551, allocations: 139.3 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1551, allocations: 4 kB / 475 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1552, allocations: 4 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1552, allocations: 8 kB / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1555, allocations: 107.8 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.1563, allocations: 0.6604 MB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1565, allocations: 129.2 kB / 475.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1567, allocations: 57.81 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1567, allocations: 7.922 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1568, allocations: 42.77 kB / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.655e-06/0.1568, allocations: 0 / 476 MB, free: 7.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001894/0.1587, allocations: 0.6657 MB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1587, allocations: 81.05 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.1596, allocations: 0.8466 MB / 477.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1597, allocations: 25.7 kB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1599, allocations: 252.4 kB / 477.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.1599, allocations: 67 kB / 477.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.16, allocations: 37.7 kB / 478 MB, free: 5.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1602, allocations: 370.7 kB / 478.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.1604, allocations: 91.92 kB / 478.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1607, allocations: 109.6 kB / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.1612, allocations: 205.7 kB / 478.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1612, allocations: 4 kB / 478.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006321/0.1619, allocations: 292.8 kB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1619, allocations: 4 kB / 479 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1619, allocations: 3.938 kB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1619, allocations: 4 kB / 479 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1622, allocations: 55.94 kB / 479.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1622, allocations: 4 kB / 479.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1624, allocations: 19.98 kB / 479.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1624, allocations: 7.984 kB / 479.1 MB, free: 3.98 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0001997/0.1626, allocations: 217.7 kB / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/0.1627, allocations: 55.25 kB / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.1635, allocations: 342.5 kB / 479.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1635, allocations: 4 kB / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1635, allocations: 0 / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1635, allocations: 0 / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1647, allocations: 0.8764 MB / 480.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1647, allocations: 4 kB / 480.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.165, allocations: 55.89 kB / 480.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.165, allocations: 0 / 480.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.165, allocations: 11.94 kB / 480.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.165, allocations: 7.922 kB / 480.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1651, allocations: 0 / 480.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.1657, allocations: 472.4 kB / 481.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1659, allocations: 132.5 kB / 481.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.1659, allocations: 8 kB / 481.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.1662, allocations: 19.92 kB / 481.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.1662, allocations: 27.91 kB / 481.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1663, allocations: 7.984 kB / 481.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.1669, allocations: 0.6159 MB / 481.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1669, allocations: 0 / 481.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1673, allocations: 60 kB / 482 MB, free: 0.9883 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0008595/0.1681, allocations: 401.7 kB / 482.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.1687, allocations: 227.7 kB / 482.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1687, allocations: 0 / 482.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.169, allocations: 123.9 kB / 482.7 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1696, allocations: 73.72 kB / 482.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.171, allocations: 1.054 MB / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1714, allocations: 0.8617 MB / 484.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.1716, allocations: 74.89 kB / 484.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1717, allocations: 39.42 kB / 484.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1717, allocations: 0 / 484.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.007736/0.1794, allocations: 4.009 MB / 488.8 MB, free: 10.26 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches