Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104.1 kB / 17.21 MB, free: 6.27 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.001523/0.001523, allocations: 190 kB / 18.12 MB, free: 5.363 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.48/1.48, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2172/0.2172, allocations: 44.19 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.98 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003823/0.1463, allocations: 1.672 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1474, allocations: 419.2 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.1475, allocations: 0 / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.1479, allocations: 87.81 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1481, allocations: 63.84 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1485, allocations: 86.59 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1487, allocations: 83.75 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1488, allocations: 23.98 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.1489, allocations: 31.91 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1491, allocations: 67.75 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1491, allocations: 4 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1492, allocations: 39.98 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.1493, allocations: 31.84 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1494, allocations: 35.73 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1496, allocations: 115.8 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1496, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1496, allocations: 4 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1496, allocations: 0 / 471.3 MB, free: 12.08 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006289/0.1502, allocations: 426.9 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1503, allocations: 8.031 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1503, allocations: 16.75 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1505, allocations: 204.6 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1506, allocations: 8.312 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1506, allocations: 4.375 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1508, allocations: 73.73 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1508, allocations: 0 / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1508, allocations: 4 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1508, allocations: 0 / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1509, allocations: 47.91 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1514, allocations: 324.6 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1515, allocations: 66.55 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.1516, allocations: 24.95 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1516, allocations: 7.938 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1517, allocations: 34.56 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1517, allocations: 0 / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001047/0.1527, allocations: 312.9 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1528, allocations: 51.41 kB / 472.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.153, allocations: 235.5 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.153, allocations: 25.7 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.1531, allocations: 112 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1531, allocations: 43.36 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1532, allocations: 29.7 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.1534, allocations: 330.8 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.1535, allocations: 31.98 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.1536, allocations: 35.97 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1538, allocations: 87.95 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1538, allocations: 0 / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.1541, allocations: 145.4 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1541, allocations: 8 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1541, allocations: 0 / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1541, allocations: 3.938 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1543, allocations: 23.98 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1543, allocations: 4 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1543, allocations: 7.984 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1543, allocations: 4 kB / 473.9 MB, free: 9.168 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 (13): * Single equations (assignments): 13 * 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.0001048/0.1544, allocations: 133.8 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1545, allocations: 15.89 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.1548, allocations: 163.8 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1548, allocations: 3.938 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1548, allocations: 4 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1548, allocations: 3.938 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1554, allocations: 483.1 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1554, allocations: 0 / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.1555, allocations: 27.98 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1555, allocations: 0 / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1555, allocations: 4 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1555, allocations: 4 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1555, allocations: 0 / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1558, allocations: 248.1 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.1559, allocations: 88.92 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1559, allocations: 11.94 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.156, allocations: 4 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.156, allocations: 11.92 kB / 475.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1561, allocations: 8 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1562, allocations: 175.2 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 0 / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1565, allocations: 24 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001022/0.1575, allocations: 448.6 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.1578, allocations: 103.9 kB / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1578, allocations: 0 / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1579, allocations: 55.84 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1583, allocations: 25.75 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.1588, allocations: 333.6 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1591, allocations: 0.72 MB / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.1592, allocations: 20.53 kB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1592, allocations: 15.44 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1592, allocations: 0 / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Templates: time 0.004383/0.1636, allocations: 1.47 MB / 478.5 MB, free: 4.637 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches