Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 96.17 kB / 16.27 MB, free: 5.93 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.001474/0.001474, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.85/1.85, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2563/0.2563, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001747/0.001747, allocations: 73.64 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1374, allocations: 57.8 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003761/0.1413, allocations: 1.585 MB / 442.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.1421, allocations: 355.5 kB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1422, allocations: 0 / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1427, allocations: 463.1 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1431, allocations: 251.4 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1436, allocations: 151.5 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1438, allocations: 163.7 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.144, allocations: 28.05 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1441, allocations: 107.8 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1443, allocations: 207.6 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1444, allocations: 4 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1445, allocations: 31.92 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.1446, allocations: 79.69 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.1447, allocations: 107 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1449, allocations: 251 kB / 444.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.145, allocations: 0 / 444.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.145, allocations: 4 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.145, allocations: 0 / 444.3 MB, free: 3.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000695/0.1457, allocations: 0.6258 MB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1457, allocations: 11.89 kB / 444.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.1458, allocations: 44.38 kB / 444.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1461, allocations: 296.2 kB / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1461, allocations: 384 / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1461, allocations: 8.375 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1463, allocations: 61.61 kB / 445.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1463, allocations: 4 kB / 445.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1463, allocations: 0 / 445.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1463, allocations: 0 / 445.3 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1464, allocations: 27.97 kB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1469, allocations: 396.5 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1472, allocations: 50.55 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.1472, allocations: 16.84 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1473, allocations: 4.078 kB / 445.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1473, allocations: 38.56 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1473, allocations: 0 / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006457/0.148, allocations: 231.9 kB / 446.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.148, allocations: 51.41 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.1487, allocations: 0.8652 MB / 447 MB, free: 240 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1487, allocations: 25.7 kB / 447 MB, free: 208 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1488, allocations: 220.2 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1489, allocations: 27.64 kB / 447.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1489, allocations: 13.72 kB / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1491, allocations: 370.7 kB / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.1492, allocations: 23.97 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.1493, allocations: 19.98 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1494, allocations: 52.83 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1495, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002277/0.1497, allocations: 117.2 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1497, allocations: 8 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1497, allocations: 0 / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1498, allocations: 4 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.1498, allocations: 11.94 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1498, allocations: 256 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1499, allocations: 11.92 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1499, allocations: 4 kB / 447.9 MB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.0002122/0.1501, allocations: 221.7 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1502, allocations: 43.44 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.1505, allocations: 133.1 kB / 448.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1505, allocations: 7.984 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1506, allocations: 0 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1506, allocations: 3.938 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1511, allocations: 466.3 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1512, allocations: 4 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1512, allocations: 11.98 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1512, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1512, allocations: 7.938 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1513, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1513, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.1515, allocations: 222.9 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.1516, allocations: 108.6 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1517, allocations: 3.938 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.1518, allocations: 11.92 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1518, allocations: 0 / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1518, allocations: 4 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006054/0.1524, allocations: 0.6472 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1524, allocations: 3.938 kB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1527, allocations: 23.98 kB / 449.8 MB, free: 13.3 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 (5): * Single equations (assignments): 5 * 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.0009676/0.1537, allocations: 398.7 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1539, allocations: 55.91 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1539, allocations: 0 / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.154, allocations: 27.98 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1545, allocations: 21.95 kB / 450.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1557, allocations: 0.8029 MB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.1562, allocations: 0.828 MB / 451.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.1562, allocations: 16.23 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1563, allocations: 11.44 kB / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1563, allocations: 0 / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Templates: time 0.005386/0.1617, allocations: 1.486 MB / 453.4 MB, free: 9.691 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches