Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 92.09 kB / 18 MB, free: 5.602 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.0008392/0.0008393, allocations: 180.9 kB / 18.91 MB, free: 4.734 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.326/1.326, allocations: 223.3 MB / 243 MB, free: 14.31 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.1953/0.1953, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003686, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002233/0.1257, allocations: 1.344 MB / 474.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.1266, allocations: 447.2 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.1267, allocations: 4 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.127, allocations: 67.83 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1272, allocations: 59.81 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1277, allocations: 163.2 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1279, allocations: 79.75 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1281, allocations: 23.97 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.1281, allocations: 27.91 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1283, allocations: 59.75 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1283, allocations: 4 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1284, allocations: 43.98 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.1285, allocations: 19.92 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.1286, allocations: 65.36 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1288, allocations: 76.17 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1288, allocations: 0 / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1288, allocations: 0 / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1288, allocations: 0 / 475.4 MB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006121/0.1294, allocations: 407.2 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1295, allocations: 8.031 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.1295, allocations: 12.75 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1298, allocations: 208 kB / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1298, allocations: 4.375 kB / 476 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1298, allocations: 4.375 kB / 476 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1301, allocations: 73.73 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1301, allocations: 4 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1301, allocations: 7.938 kB / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1301, allocations: 0 / 476.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1303, allocations: 51.95 kB / 476.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.1308, allocations: 328.6 kB / 476.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1311, allocations: 58.55 kB / 476.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.1312, allocations: 36.97 kB / 476.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1312, allocations: 4 kB / 476.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1313, allocations: 34.59 kB / 476.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.1313, allocations: 0 / 476.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001684/0.133, allocations: 492.8 kB / 477.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.133, allocations: 59.34 kB / 477.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1332, allocations: 203.3 kB / 477.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1333, allocations: 29.7 kB / 477.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1333, allocations: 104.1 kB / 477.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.1334, allocations: 43.45 kB / 477.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1334, allocations: 13.72 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1336, allocations: 326.8 kB / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1337, allocations: 59.95 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1339, allocations: 67.89 kB / 478 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.1342, allocations: 148.7 kB / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1342, allocations: 0 / 478.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003932/0.1346, allocations: 173.5 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1346, allocations: 4 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.1346, allocations: 0.5625 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1347, allocations: 4 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1348, allocations: 35.91 kB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1348, allocations: 3.938 kB / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.1349, allocations: 19.98 kB / 478.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.1349, allocations: 11.98 kB / 478.3 MB, free: 7.621 MB / 350.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 (11): * Single equations (assignments): 11 * 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.000118/0.135, allocations: 134.3 kB / 478.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.1351, allocations: 15.81 kB / 478.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.1355, allocations: 198.9 kB / 478.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1356, allocations: 7.938 kB / 478.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1356, allocations: 0 / 478.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1356, allocations: 0 / 478.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.1364, allocations: 0.5155 MB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1364, allocations: 4.062 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1365, allocations: 35.91 kB / 479.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1365, allocations: 0 / 479.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1365, allocations: 8 kB / 479.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1365, allocations: 0 / 479.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1366, allocations: 7.938 kB / 479.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.137, allocations: 289.5 kB / 479.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1371, allocations: 92.92 kB / 479.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1371, allocations: 4 kB / 479.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1372, allocations: 15.98 kB / 479.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1373, allocations: 15.91 kB / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1373, allocations: 4 kB / 479.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1375, allocations: 155.9 kB / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1375, allocations: 0 / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1378, allocations: 32 kB / 479.9 MB, free: 5.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001151/0.1389, allocations: 454.1 kB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.1393, allocations: 147.8 kB / 480.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1393, allocations: 0 / 480.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1395, allocations: 79.89 kB / 480.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1399, allocations: 27.92 kB / 480.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.1406, allocations: 369.4 kB / 480.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1408, allocations: 0.7199 MB / 481.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.1409, allocations: 19.44 kB / 481.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1409, allocations: 4 kB / 481.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004223/0.1451, allocations: 2.029 MB / 483.7 MB, free: 2.293 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches