Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 96.16 kB / 17 MB, free: 6.402 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.001378/0.001378, allocations: 178.1 kB / 17.89 MB, free: 5.945 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.509/1.509, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003575, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002253/0.1345, allocations: 1.394 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1367, allocations: 1.374 MB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.1369, allocations: 4 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1372, allocations: 27.89 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1374, allocations: 51.77 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1378, allocations: 91.2 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.138, allocations: 87.69 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.1381, allocations: 4.234 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.1382, allocations: 35.8 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1383, allocations: 39.83 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1383, allocations: 4 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1385, allocations: 47.98 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1385, allocations: 15.92 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.1386, allocations: 37.58 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1388, allocations: 92.08 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1388, allocations: 0 / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1388, allocations: 0 / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1388, allocations: 0 / 474.9 MB, free: 10.37 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005509/0.1393, allocations: 397.3 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1394, allocations: 8.031 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.1394, allocations: 11.81 kB / 475.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1397, allocations: 199 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1397, allocations: 11.94 kB / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1397, allocations: 0 / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1399, allocations: 71.33 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.14, allocations: 4 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.14, allocations: 4 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.14, allocations: 0 / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1401, allocations: 19.98 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1405, allocations: 284.8 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1406, allocations: 54.61 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.1407, allocations: 28.84 kB / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1407, allocations: 0 / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1409, allocations: 67.39 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/0.1409, allocations: 0 / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005412/0.1415, allocations: 177.2 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.1416, allocations: 77.11 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1417, allocations: 156.5 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1417, allocations: 29.7 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.1418, allocations: 96.12 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1418, allocations: 23.7 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1419, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1421, allocations: 322.8 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1421, allocations: 23.98 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.1422, allocations: 42.5 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.1423, allocations: 24.03 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1423, allocations: 0 / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.1425, allocations: 101.5 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1425, allocations: 8 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1425, allocations: 192 / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1425, allocations: 0 / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1427, allocations: 19.92 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1427, allocations: 4 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1427, allocations: 7.969 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1427, allocations: 7.953 kB / 477.1 MB, free: 7.895 MB / 350.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 0.0001043/0.1429, allocations: 122.4 kB / 477.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.1429, allocations: 11.81 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1429, allocations: 16.7 kB / 477.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1429, allocations: 3.938 kB / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.143, allocations: 0 / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.143, allocations: 0 / 477.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.1434, allocations: 387.3 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1434, allocations: 3.938 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.1435, allocations: 15.98 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1435, allocations: 0 / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1435, allocations: 4 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1435, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1435, allocations: 3.953 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1438, allocations: 196.3 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1438, allocations: 93 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1439, allocations: 0 / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.144, allocations: 11.94 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.144, allocations: 19.86 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.144, allocations: 4.375 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1441, allocations: 115.2 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1442, allocations: 4 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1444, allocations: 28 kB / 478.2 MB, free: 6.766 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: 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.001225/0.1457, allocations: 0.4984 MB / 478.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1459, allocations: 55.92 kB / 478.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1459, allocations: 0 / 478.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.146, allocations: 27.98 kB / 478.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1463, allocations: 27.91 kB / 478.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.1468, allocations: 214.2 kB / 479 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.147, allocations: 0.7014 MB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.1471, allocations: 17.19 kB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.1472, allocations: 19.42 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1472, allocations: 0 / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of Templates: time 0.004856/0.152, allocations: 1.845 MB / 481.6 MB, free: 3.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches