Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 93.09 kB / 17.35 MB, free: 6.344 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.0008075/0.0008079, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.396/1.396, allocations: 223.3 MB / 242.3 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002071/0.1227, allocations: 1.352 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.1234, allocations: 435.2 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.1235, allocations: 4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.1237, allocations: 47.88 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1238, allocations: 43.83 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.1242, allocations: 161.7 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1244, allocations: 83.75 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1245, allocations: 23.97 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.1246, allocations: 23.92 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.1247, allocations: 39.77 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1247, allocations: 4 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1248, allocations: 43.98 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1249, allocations: 19.92 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.1249, allocations: 61.42 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1251, allocations: 91.98 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1251, allocations: 8 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1251, allocations: 0 / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1252, allocations: 0 / 474.7 MB, free: 10.91 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.0004953/0.1257, allocations: 391.2 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1257, allocations: 8.031 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1257, allocations: 8.844 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1259, allocations: 194.4 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.126, allocations: 12.25 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.126, allocations: 8.375 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1262, allocations: 69.78 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1262, allocations: 7.906 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1262, allocations: 4 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1262, allocations: 0 / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1264, allocations: 47.97 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1268, allocations: 320.7 kB / 475.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.127, allocations: 70.55 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/0.1271, allocations: 28.97 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1271, allocations: 4.031 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1272, allocations: 34.56 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1272, allocations: 4 kB / 475.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.1286, allocations: 0.4929 MB / 476.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1287, allocations: 59.34 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1289, allocations: 169.8 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1289, allocations: 25.7 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1289, allocations: 100 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.129, allocations: 47.38 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.129, allocations: 9.719 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1291, allocations: 326.8 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1293, allocations: 63.95 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1294, allocations: 59.95 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1297, allocations: 148.7 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1297, allocations: 3.938 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003293/0.1301, allocations: 173.5 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1301, allocations: 4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1301, allocations: 3.938 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1301, allocations: 4 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1302, allocations: 31.97 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1303, allocations: 4 kB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.1303, allocations: 15.92 kB / 477.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1303, allocations: 8 kB / 477.6 MB, free: 7.77 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 8.914e-05/0.1304, allocations: 122.4 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1305, allocations: 7.906 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.1309, allocations: 214.6 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1309, allocations: 7.938 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1309, allocations: 0 / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1309, allocations: 0 / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.1317, allocations: 0.5039 MB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1317, allocations: 4 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1318, allocations: 35.92 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1318, allocations: 0 / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1318, allocations: 4 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1318, allocations: 4.062 kB / 478.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1318, allocations: 0 / 478.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1322, allocations: 296.9 kB / 478.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1323, allocations: 88.92 kB / 478.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1323, allocations: 11.97 kB / 478.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.1324, allocations: 12 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1325, allocations: 11.98 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.1325, allocations: 8 kB / 478.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1326, allocations: 136.9 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1326, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1329, allocations: 20 kB / 479.1 MB, free: 6.184 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.0009452/0.1338, allocations: 452.5 kB / 479.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.1342, allocations: 147.8 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1342, allocations: 0 / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1343, allocations: 75.89 kB / 479.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1347, allocations: 22.77 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1352, allocations: 315.3 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1354, allocations: 0.7238 MB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.1355, allocations: 32.38 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1356, allocations: 15.44 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1356, allocations: 4 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Templates: time 0.003873/0.1395, allocations: 1.482 MB / 482.3 MB, free: 3.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches