Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 110.3 kB / 17.04 MB, free: 5.816 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.001145/0.001145, allocations: 196 kB / 17.98 MB, free: 5.027 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.678/1.678, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2299/0.2299, allocations: 43.52 MB / 314.7 MB, free: 484 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.001615/0.001615, allocations: 68.56 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003225/0.1424, allocations: 1.559 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.143, allocations: 323.7 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.1431, allocations: 4 kB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1436, allocations: 463.1 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1439, allocations: 243.4 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1442, allocations: 159.3 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1445, allocations: 159.6 kB / 444.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1446, allocations: 15.98 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.1447, allocations: 103.8 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1449, allocations: 207.6 kB / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1449, allocations: 0 / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.145, allocations: 27.92 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.1451, allocations: 83.69 kB / 445.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.1452, allocations: 95.06 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1454, allocations: 251 kB / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1454, allocations: 0 / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1454, allocations: 0 / 445.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1454, allocations: 0 / 445.6 MB, free: 2.488 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.0005854/0.146, allocations: 0.6219 MB / 446.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1461, allocations: 11.89 kB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.1461, allocations: 40.47 kB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1464, allocations: 300 kB / 446.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1464, allocations: 4.375 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1464, allocations: 4.375 kB / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1466, allocations: 53.81 kB / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1466, allocations: 0 / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1466, allocations: 3.984 kB / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1466, allocations: 0 / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.1467, allocations: 23.98 kB / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1471, allocations: 380.7 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.1472, allocations: 38.56 kB / 447.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.1473, allocations: 16.92 kB / 447.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1473, allocations: 3.984 kB / 447.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1473, allocations: 30.56 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1473, allocations: 0 / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002882/0.1476, allocations: 109.1 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1477, allocations: 51.41 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.1483, allocations: 0.8575 MB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1484, allocations: 25.7 kB / 448.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1486, allocations: 216.1 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1486, allocations: 19.8 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1487, allocations: 9.719 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1488, allocations: 358.9 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.1489, allocations: 19.98 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1489, allocations: 4 kB / 448.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.149, allocations: 32.78 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.149, allocations: 0 / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.1492, allocations: 97.05 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1492, allocations: 9.25 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1492, allocations: 4.094 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1493, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.1493, allocations: 4 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1493, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1494, allocations: 11.92 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1494, allocations: 4 kB / 448.9 MB, free: 14.93 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 (2): * Single equations (assignments): 2 * 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.0001921/0.1496, allocations: 213.7 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.1497, allocations: 43.44 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.1499, allocations: 120.5 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1499, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1499, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1499, allocations: 4 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1502, allocations: 281.5 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1502, allocations: 0 / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.1502, allocations: 4 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1503, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1503, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1503, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1503, allocations: 8.031 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1505, allocations: 187 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.1506, allocations: 108.5 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1506, allocations: 4 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1507, allocations: 0 / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1507, allocations: 3.984 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.1508, allocations: 4 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006377/0.1514, allocations: 0.655 MB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1514, allocations: 0 / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1517, allocations: 16 kB / 450.6 MB, free: 13.2 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 (2): * Single equations (assignments): 2 * 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.0008632/0.1525, allocations: 348.6 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1527, allocations: 27.92 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1527, allocations: 0 / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.1528, allocations: 11.98 kB / 451 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1532, allocations: 29.95 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1542, allocations: 0.7595 MB / 451.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1547, allocations: 0.8298 MB / 452.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.1547, allocations: 11.98 kB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1547, allocations: 11.42 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1548, allocations: 0 / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Templates: time 0.004851/0.1596, allocations: 1.272 MB / 453.9 MB, free: 9.941 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches