Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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 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 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 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 110.4 kB / 17.04 MB, free: 6.078 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.001404/0.001404, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2336/0.2336, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001637, allocations: 64.11 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002772/0.1342, allocations: 1.573 MB / 443.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000574/0.1348, allocations: 331.6 kB / 443.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.1348, allocations: 0 / 443.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.1353, allocations: 455.1 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1356, allocations: 259.4 kB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.136, allocations: 146.5 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1362, allocations: 171.6 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1363, allocations: 12.17 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.1364, allocations: 103.8 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1365, allocations: 207.6 kB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1366, allocations: 4 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.1366, allocations: 27.92 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.1367, allocations: 83.69 kB / 445.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.1368, allocations: 103 kB / 445.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.137, allocations: 247 kB / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.137, allocations: 3.938 kB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.137, allocations: 4 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1371, allocations: 0 / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005872/0.1376, allocations: 0.6258 MB / 446.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1377, allocations: 15.89 kB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.1378, allocations: 44.38 kB / 446.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.138, allocations: 296.2 kB / 446.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.138, allocations: 384 / 446.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1381, allocations: 4.375 kB / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1382, allocations: 53.61 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1382, allocations: 0 / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1383, allocations: 8 kB / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1383, allocations: 0 / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1384, allocations: 39.91 kB / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1389, allocations: 392.7 kB / 447.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.139, allocations: 42.55 kB / 447.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.139, allocations: 20.94 kB / 447.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1391, allocations: 8 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1391, allocations: 34.56 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1391, allocations: 0 / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002898/0.1394, allocations: 125.1 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1394, allocations: 51.41 kB / 447.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.1401, allocations: 0.8496 MB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1401, allocations: 29.7 kB / 448.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1403, allocations: 220 kB / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1403, allocations: 11.84 kB / 448.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1404, allocations: 13.72 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1405, allocations: 370.7 kB / 448.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.1406, allocations: 15.98 kB / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.1407, allocations: 15.98 kB / 448.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1408, allocations: 53.09 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1408, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001883/0.141, allocations: 109.1 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.141, allocations: 4 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.141, allocations: 4 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1411, allocations: 0 / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.1412, allocations: 4 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1412, allocations: 0 / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.1412, allocations: 15.89 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1413, allocations: 8 kB / 449.1 MB, free: 14.79 MB / 334.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 (3): * Single equations (assignments): 3 * 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.0001771/0.1414, allocations: 217.7 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1415, allocations: 35.53 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.1417, allocations: 124.9 kB / 449.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1417, allocations: 0 / 449.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1418, allocations: 4 kB / 449.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1418, allocations: 4 kB / 449.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1421, allocations: 289.5 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1421, allocations: 3.984 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1421, allocations: 4 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1422, allocations: 0 / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1422, allocations: 4 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1422, allocations: 0 / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1422, allocations: 0 / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1424, allocations: 214.9 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.1425, allocations: 104.6 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1425, allocations: 3.938 kB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.1426, allocations: 7.984 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1426, allocations: 0 / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1427, allocations: 7.938 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005836/0.1432, allocations: 0.6433 MB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1433, allocations: 0 / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1435, allocations: 23.98 kB / 450.8 MB, free: 13.01 MB / 334.1 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 (3): * Single equations (assignments): 3 * 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.0007902/0.1443, allocations: 349.8 kB / 451.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1445, allocations: 51.95 kB / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1445, allocations: 0 / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.1446, allocations: 19.98 kB / 451.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.145, allocations: 25.95 kB / 451.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1461, allocations: 0.7794 MB / 452 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.1465, allocations: 0.8182 MB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.1465, allocations: 19.97 kB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.1466, allocations: 11.44 kB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1466, allocations: 0 / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.005031/0.1516, allocations: 1.34 MB / 454.2 MB, free: 9.645 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches