Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 87.33 kB / 20.42 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9415/0.9415, allocations: 158.6 MB / 185.7 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1666/0.1666, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.983e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002216/0.002245, allocations: 1.73 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003631, allocations: 1.524 MB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.003708, allocations: 0 / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.004029, allocations: 35.83 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.004297, allocations: 63.62 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.004517, allocations: 83.7 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004676, allocations: 111.6 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004787, allocations: 12.22 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.004882, allocations: 43.89 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.94e-05/0.004982, allocations: 31.91 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.005, allocations: 8 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005102, allocations: 55.91 kB / 351.5 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.005152, allocations: 27.84 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.005194, allocations: 12 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005384, allocations: 119.5 kB / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005387, allocations: 0 / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005388, allocations: 0 / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005392, allocations: 4 kB / 351.6 MB, free: 5.484 MB / 282.7 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.0004428/0.005835, allocations: 432 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.005868, allocations: 8.031 kB / 352 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.005917, allocations: 16.89 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.006075, allocations: 144.4 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006094, allocations: 4.375 kB / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.006114, allocations: 384 / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.006275, allocations: 112 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006287, allocations: 3.938 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.006298, allocations: 0 / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.006306, allocations: 4 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.006348, allocations: 11.98 kB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.006606, allocations: 279.8 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.006707, allocations: 51.17 kB / 352.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.006733, allocations: 27.55 kB / 352.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006744, allocations: 0 / 352.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.006838, allocations: 69.05 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.00684, allocations: 0 / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003425/0.007182, allocations: 169.3 kB / 352.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.007204, allocations: 81.05 kB / 353 MB, free: 3.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007314, allocations: 205 kB / 353.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.007327, allocations: 29.7 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.007366, allocations: 138.9 kB / 353.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.007389, allocations: 31.77 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.007419, allocations: 31.38 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.007462, allocations: 0.4884 MB / 353.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.007483, allocations: 11.98 kB / 353.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.00752, allocations: 68.75 kB / 354 MB, free: 2.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.007572, allocations: 59.28 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007574, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001127/0.007686, allocations: 85.59 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.0077, allocations: 8 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007705, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.00772, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.007793, allocations: 19.92 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.007799, allocations: 4 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.007828, allocations: 0 / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.007837, allocations: 4 kB / 354.2 MB, free: 2.676 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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 5.958e-05/0.007896, allocations: 172.5 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.007912, allocations: 11.95 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.008056, allocations: 102.5 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008059, allocations: 0 / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008063, allocations: 0 / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008067, allocations: 7.984 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.00828, allocations: 385 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008281, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.008305, allocations: 8 kB / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008308, allocations: 4.031 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.008316, allocations: 4 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008317, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008318, allocations: 3.938 kB / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.008419, allocations: 259.4 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.008428, allocations: 15.94 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.008444, allocations: 0 / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.008482, allocations: 8.312 kB / 355.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.008509, allocations: 7.984 kB / 355.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.008522, allocations: 8 kB / 355.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.008576, allocations: 166 kB / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008576, allocations: 0 / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.00875, allocations: 27.94 kB / 355.3 MB, free: 1.426 MB / 282.7 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 (9): * Single equations (assignments): 7 * 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.0009378/0.009687, allocations: 490.8 kB / 355.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.009808, allocations: 47.61 kB / 355.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00981, allocations: 8.062 kB / 355.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.009845, allocations: 35.61 kB / 355.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01006, allocations: 35.83 kB / 355.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.01035, allocations: 193.1 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.685e-05/0.01037, allocations: 67.25 kB / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.577e-05/0.01041, allocations: 12.48 kB / 356.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.01044, allocations: 20.56 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01044, allocations: 0 / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Templates: time 0.00456/0.015, allocations: 2.302 MB / 358.5 MB, free: 14.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.332761371973902]