Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.0009783, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 177.7 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 223.1 MB, free: 5.195 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4903/0.4903, allocations: 43.57 MB / 315 MB, free: 9.246 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.0005103/0.0005103, allocations: 18.66 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002011/0.1477, allocations: 1.337 MB / 444.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000614/0.1483, allocations: 323.7 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.1483, allocations: 0 / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.1489, allocations: 447.2 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1492, allocations: 243.5 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1494, allocations: 103.9 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.1496, allocations: 159.6 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1498, allocations: 16.17 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1499, allocations: 99.8 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1501, allocations: 207.6 kB / 446.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1501, allocations: 0 / 446.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.1502, allocations: 35.97 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1503, allocations: 83.62 kB / 446.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.1504, allocations: 124.6 kB / 446.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1507, allocations: 247.2 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1507, allocations: 3.984 kB / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1507, allocations: 0 / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1507, allocations: 0 / 446.8 MB, free: 9.496 MB / 382.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.0006383/0.1514, allocations: 0.5912 MB / 447.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1514, allocations: 8.031 kB / 447.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.1515, allocations: 40.47 kB / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1517, allocations: 296.1 kB / 447.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1518, allocations: 4.312 kB / 447.8 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1518, allocations: 4.375 kB / 447.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1519, allocations: 65.61 kB / 447.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.152, allocations: 4 kB / 447.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.152, allocations: 0 / 447.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.152, allocations: 0 / 447.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1521, allocations: 43.97 kB / 447.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1526, allocations: 384.7 kB / 448.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1527, allocations: 50.48 kB / 448.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.1528, allocations: 32.94 kB / 448.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1528, allocations: 0 / 448.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1529, allocations: 30.56 kB / 448.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 4.038e-06/0.1529, allocations: 3.984 kB / 448.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008069/0.1537, allocations: 331.8 kB / 448.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1537, allocations: 55.41 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007718/0.1545, allocations: 0.8534 MB / 449.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1545, allocations: 25.7 kB / 449.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1547, allocations: 208.1 kB / 449.8 MB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1547, allocations: 23.64 kB / 449.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.1548, allocations: 13.72 kB / 449.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1549, allocations: 362.8 kB / 450.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.155, allocations: 39.97 kB / 450.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1551, allocations: 43.97 kB / 450.3 MB, free: 5.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1554, allocations: 88.75 kB / 450.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1554, allocations: 7.984 kB / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002909/0.1557, allocations: 153.3 kB / 450.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1557, allocations: 8 kB / 450.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1557, allocations: 4.078 kB / 450.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1557, allocations: 3.984 kB / 450.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1558, allocations: 19.98 kB / 450.6 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1559, allocations: 7.984 kB / 450.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.1559, allocations: 15.92 kB / 450.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.156, allocations: 0 / 450.6 MB, free: 5.492 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001768/0.1561, allocations: 225.6 kB / 450.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.1562, allocations: 47.44 kB / 450.9 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.1566, allocations: 185.4 kB / 451 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1566, allocations: 4 kB / 451.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1566, allocations: 0 / 451.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1566, allocations: 3.938 kB / 451.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.1572, allocations: 0.4984 MB / 451.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1572, allocations: 0 / 451.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.1573, allocations: 23.98 kB / 451.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1573, allocations: 0 / 451.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1573, allocations: 3.938 kB / 451.6 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1573, allocations: 4 kB / 451.6 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1573, allocations: 4 kB / 451.6 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1577, allocations: 251 kB / 451.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.1577, allocations: 116.5 kB / 451.9 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1578, allocations: 11.88 kB / 452 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.1579, allocations: 11.98 kB / 452 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1579, allocations: 7.984 kB / 452 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1579, allocations: 4 kB / 452 MB, free: 3.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000553/0.1585, allocations: 0.6472 MB / 452.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1585, allocations: 0 / 452.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1588, allocations: 28 kB / 452.7 MB, free: 3.324 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0009084/0.1597, allocations: 399.6 kB / 453 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.16, allocations: 99.86 kB / 453.1 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.16, allocations: 0 / 453.1 MB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1601, allocations: 51.97 kB / 453.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1605, allocations: 21.97 kB / 453.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1616, allocations: 0.8805 MB / 454.1 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.162, allocations: 0.8262 MB / 454.9 MB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.1621, allocations: 12.3 kB / 454.9 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1621, allocations: 11.44 kB / 454.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1621, allocations: 0 / 454.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of Templates: time 0.2393/0.4014, allocations: 1.399 MB / 456.3 MB, free: 45.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches