Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007432/0.0007434, allocations: 94.75 kB / 18 MB, free: 5.602 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.000843/0.0008432, allocations: 181.2 kB / 18.91 MB, free: 4.734 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.25 MB / 338.3 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005063, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001912/0.1441, allocations: 1.282 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.1449, allocations: 391.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.145, allocations: 4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1452, allocations: 19.92 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1454, allocations: 19.92 kB / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1457, allocations: 99.31 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1459, allocations: 63.77 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.146, allocations: 16 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.146, allocations: 11.92 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.1461, allocations: 23.86 kB / 474.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1461, allocations: 0 / 474.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.1462, allocations: 27.98 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1463, allocations: 11.92 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1463, allocations: 41.58 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1465, allocations: 51.92 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1465, allocations: 0 / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1465, allocations: 3.938 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1465, allocations: 3.938 kB / 475 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004895/0.147, allocations: 371.5 kB / 475.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1471, allocations: 12.03 kB / 475.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1471, allocations: 8.844 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1473, allocations: 192.2 kB / 475.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1473, allocations: 384 / 475.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1474, allocations: 4.375 kB / 475.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1475, allocations: 53.81 kB / 475.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1475, allocations: 4 kB / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1475, allocations: 0 / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1475, allocations: 0 / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1477, allocations: 31.92 kB / 475.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.148, allocations: 280.9 kB / 475.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1482, allocations: 50.56 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1483, allocations: 16.94 kB / 476 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1483, allocations: 7.938 kB / 476 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1484, allocations: 30.56 kB / 476 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1484, allocations: 4 kB / 476 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005697/0.1489, allocations: 165.2 kB / 476.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.149, allocations: 59.39 kB / 476.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1491, allocations: 141.3 kB / 476.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1492, allocations: 25.7 kB / 476.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.1492, allocations: 92.14 kB / 476.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.1493, allocations: 19.8 kB / 476.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1493, allocations: 9.719 kB / 476.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1494, allocations: 318.8 kB / 476.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.1495, allocations: 31.97 kB / 476.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.1496, allocations: 23.98 kB / 476.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1497, allocations: 60.83 kB / 476.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1497, allocations: 0 / 476.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002054/0.1499, allocations: 101.5 kB / 477 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.15, allocations: 4 kB / 477 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.15, allocations: 0 / 477 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.15, allocations: 4 kB / 477 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.1501, allocations: 8 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1501, allocations: 11.94 kB / 477.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1501, allocations: 7.984 kB / 477.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1501, allocations: 0 / 477.1 MB, free: 8.895 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 (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 8.099e-05/0.1502, allocations: 122.2 kB / 477.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1503, allocations: 7.906 kB / 477.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.1505, allocations: 113.9 kB / 477.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1505, allocations: 288 / 477.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1505, allocations: 3.938 kB / 477.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1505, allocations: 3.984 kB / 477.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.151, allocations: 362.8 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.151, allocations: 4.062 kB / 477.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.1511, allocations: 12 kB / 477.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1511, allocations: 0 / 477.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1511, allocations: 3.938 kB / 477.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1511, allocations: 7.922 kB / 477.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1511, allocations: 0 / 477.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1513, allocations: 187.4 kB / 477.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.1514, allocations: 89 kB / 478 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1514, allocations: 4 kB / 478 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1515, allocations: 7.938 kB / 478 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1515, allocations: 3.984 kB / 478 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1515, allocations: 8 kB / 478 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1516, allocations: 107.3 kB / 478.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1516, allocations: 0 / 478.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1519, allocations: 19.98 kB / 478.1 MB, free: 7.742 MB / 350.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.0009043/0.1528, allocations: 405.2 kB / 478.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.153, allocations: 71.89 kB / 478.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.153, allocations: 0 / 478.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.1531, allocations: 27.98 kB / 478.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1534, allocations: 15.98 kB / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.1538, allocations: 226.2 kB / 478.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1541, allocations: 0.6926 MB / 479.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1542, allocations: 15.44 kB / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1542, allocations: 0 / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.003053/0.1572, allocations: 1.364 MB / 480.9 MB, free: 5.035 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches