Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 88.19 kB / 15.7 MB, free: 460 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.001607/0.001608, allocations: 178.5 kB / 16.58 MB, free: 6.84 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.043/2.043, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.482/0.482, allocations: 43.58 MB / 314.6 MB, free: 8.789 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.0005526/0.0005528, allocations: 12 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1351, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002434/0.1376, allocations: 1.394 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.139, allocations: 0.7383 MB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1391, allocations: 0 / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1394, allocations: 39.88 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1396, allocations: 43.84 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1399, allocations: 79.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1401, allocations: 83.7 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1402, allocations: 12.2 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1404, allocations: 47.77 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.1405, allocations: 23.86 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1405, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1406, allocations: 35.98 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1407, allocations: 19.91 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1408, allocations: 45.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1409, allocations: 80.05 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.141, allocations: 0 / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.141, allocations: 4 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.141, allocations: 0 / 445.5 MB, free: 10.35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000541/0.1415, allocations: 406.8 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1416, allocations: 8.031 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1416, allocations: 11.91 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1419, allocations: 203.5 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1419, allocations: 8 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1419, allocations: 0 / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1421, allocations: 53.67 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1421, allocations: 3.906 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1421, allocations: 4 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1421, allocations: 3.953 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.1422, allocations: 19.92 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.1426, allocations: 288.9 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1428, allocations: 62.61 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.1428, allocations: 16.86 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1429, allocations: 0 / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.1431, allocations: 71.33 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1431, allocations: 11.94 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.1436, allocations: 173.2 kB / 446.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1437, allocations: 55.41 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1439, allocations: 199.3 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1439, allocations: 25.7 kB / 447.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.1439, allocations: 100.1 kB / 447.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.144, allocations: 23.7 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.144, allocations: 4 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1441, allocations: 326.8 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.1442, allocations: 19.98 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.1442, allocations: 37.7 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.1443, allocations: 24 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1443, allocations: 0 / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1445, allocations: 101.4 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.1445, allocations: 8.031 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1445, allocations: 0 / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1446, allocations: 4 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.1447, allocations: 15.98 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.1447, allocations: 160 / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1447, allocations: 8 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1447, allocations: 7.984 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/0.1448, allocations: 133.7 kB / 447.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1449, allocations: 11.86 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1449, allocations: 25.39 kB / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1449, allocations: 0 / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1449, allocations: 0 / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1449, allocations: 0 / 447.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1454, allocations: 399.2 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1454, allocations: 0 / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1455, allocations: 8 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1455, allocations: 7.922 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1455, allocations: 12.03 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1455, allocations: 192 / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1455, allocations: 0 / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1458, allocations: 208.1 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1458, allocations: 92.97 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1459, allocations: 3.984 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.1459, allocations: 8 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.146, allocations: 8 kB / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.146, allocations: 7.984 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1461, allocations: 148.9 kB / 448.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 448.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1464, allocations: 27.91 kB / 448.8 MB, free: 6.684 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.1474, allocations: 461.1 kB / 449.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1476, allocations: 59.91 kB / 449.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1476, allocations: 3.938 kB / 449.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.1477, allocations: 31.92 kB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.148, allocations: 24.11 kB / 449.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.1485, allocations: 246.4 kB / 449.6 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1487, allocations: 0.7082 MB / 450.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.1488, allocations: 13.19 kB / 450.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.1488, allocations: 19.42 kB / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1488, allocations: 0 / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of Templates: time 0.004235/0.1531, allocations: 1.595 MB / 451.9 MB, free: 3.516 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches