Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00197/0.00197, allocations: 115.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00293/0.00293, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2329/0.2329, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 79.86 kB / 0.4924 GB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1274, allocations: 65.99 MB / 0.5569 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003249/0.1307, allocations: 1.698 MB / 0.5585 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1324, allocations: 1.01 MB / 0.5595 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1325, allocations: 4 kB / 0.5595 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1328, allocations: 55.75 kB / 0.5596 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1332, allocations: 103.6 kB / 0.5597 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1334, allocations: 75.61 kB / 0.5598 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1336, allocations: 103.7 kB / 0.5598 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.1336, allocations: 240 / 0.5598 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1337, allocations: 47.78 kB / 0.5599 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1338, allocations: 47.77 kB / 0.5599 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1339, allocations: 0 / 0.5599 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.134, allocations: 39.98 kB / 0.56 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.134, allocations: 19.88 kB / 0.56 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1341, allocations: 31.78 kB / 0.56 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1343, allocations: 95.59 kB / 0.5601 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1343, allocations: 0 / 0.5601 GB, free: 2.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1343, allocations: 0 / 0.5601 GB, free: 2.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1343, allocations: 0 / 0.5601 GB, free: 2.629 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006409/0.1349, allocations: 414.7 kB / 0.5605 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.135, allocations: 8.031 kB / 0.5605 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.135, allocations: 12.83 kB / 0.5605 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1354, allocations: 220.1 kB / 0.5607 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1354, allocations: 4.375 kB / 0.5607 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1354, allocations: 384 / 0.5607 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1356, allocations: 53.98 kB / 0.5608 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1356, allocations: 0 / 0.5608 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.1356, allocations: 4 kB / 0.5608 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1356, allocations: 0 / 0.5608 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.1357, allocations: 19.97 kB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.1359, allocations: 181.7 kB / 0.561 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1361, allocations: 50.56 kB / 0.561 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.1361, allocations: 20.84 kB / 0.5611 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1361, allocations: 0 / 0.5611 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1363, allocations: 67.33 kB / 0.5611 GB, free: 1.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1363, allocations: 4 kB / 0.5611 GB, free: 1.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002964/0.1366, allocations: 97.56 kB / 0.5612 GB, free: 1.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1367, allocations: 51.41 kB / 0.5613 GB, free: 1.262 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1369, allocations: 181.4 kB / 0.5614 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1369, allocations: 29.7 kB / 0.5615 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.1369, allocations: 104.1 kB / 0.5616 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.137, allocations: 7.891 kB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.137, allocations: 21.72 kB / 0.5616 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1372, allocations: 322.8 kB / 0.5619 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1372, allocations: 15.98 kB / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1373, allocations: 29.72 kB / 0.562 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1374, allocations: 45.64 kB / 0.562 GB, free: 484 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1374, allocations: 0 / 0.562 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001717/0.1376, allocations: 93.77 kB / 0.5621 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1376, allocations: 4 kB / 0.5621 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1376, allocations: 64 / 0.5621 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1376, allocations: 4 kB / 0.5621 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.1377, allocations: 15.94 kB / 0.5621 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1377, allocations: 0 / 0.5621 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1377, allocations: 0 / 0.5621 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1377, allocations: 7.938 kB / 0.5621 GB, free: 352 kB / 414.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001146/0.1379, allocations: 121.8 kB / 0.5622 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1379, allocations: 19.92 kB / 0.5623 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.1379, allocations: 12.98 kB / 0.5623 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1379, allocations: 0 / 0.5623 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1379, allocations: 4 kB / 0.5623 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1379, allocations: 3.938 kB / 0.5623 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.1381, allocations: 185.6 kB / 0.5625 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1381, allocations: 0 / 0.5625 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1381, allocations: 7.938 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1381, allocations: 0 / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1381, allocations: 7.984 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1382, allocations: 0 / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1382, allocations: 4 kB / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1384, allocations: 109 kB / 0.5626 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1384, allocations: 89 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1384, allocations: 0 / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.1385, allocations: 4 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1385, allocations: 7.984 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1385, allocations: 0 / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1386, allocations: 144.9 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1386, allocations: 0 / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1389, allocations: 23.92 kB / 0.5628 GB, free: 15.52 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001464/0.1403, allocations: 411 kB / 0.5632 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1405, allocations: 35.92 kB / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1405, allocations: 0 / 0.5633 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.393e-05/0.1406, allocations: 16 kB / 0.5633 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1408, allocations: 36.03 kB / 0.5633 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.1413, allocations: 223.6 kB / 0.5635 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1417, allocations: 0.6963 MB / 0.5642 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1417, allocations: 15.44 kB / 0.5642 GB, free: 14.18 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1417, allocations: 0 / 0.5642 GB, free: 14.18 MB / 430.1 MB Notification: Performance of Templates: time 0.003846/0.1456, allocations: 1.72 MB / 0.5659 GB, free: 12.46 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.774235939141363]