Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001326/0.001326, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.001216/0.001216, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2994/0.2994, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.621e-05, allocations: 2.312 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002402/0.002429, allocations: 1.774 MB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003664, allocations: 1.013 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.003753, allocations: 0 / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.004092, allocations: 87.64 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.004408, allocations: 119.4 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.004614, allocations: 91.53 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.004784, allocations: 119.7 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.004882, allocations: 8 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.004974, allocations: 71.73 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.005065, allocations: 51.88 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.005082, allocations: 8 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.00518, allocations: 59.91 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.005245, allocations: 39.84 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.005288, allocations: 15.94 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.005507, allocations: 115.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.005509, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.00551, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005514, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004419/0.005956, allocations: 467.7 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.005991, allocations: 12.03 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.006036, allocations: 16.84 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.006217, allocations: 156.4 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.006234, allocations: 4.375 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.006258, allocations: 8.359 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006389, allocations: 70.86 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.006401, allocations: 7.938 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.006411, allocations: 4 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006418, allocations: 0 / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.006456, allocations: 11.98 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.006773, allocations: 299.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.006947, allocations: 62.92 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.00698, allocations: 27.8 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.006994, allocations: 0 / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.731e-05/0.007091, allocations: 65.05 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.007093, allocations: 0 / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005309/0.007623, allocations: 229.3 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.00766, allocations: 51.41 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.007804, allocations: 242.7 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.007818, allocations: 33.64 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.007876, allocations: 154.9 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.00791, allocations: 43.69 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.007948, allocations: 35.36 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.008062, allocations: 0.5 MB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.008094, allocations: 19.98 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.008137, allocations: 39.36 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/0.00821, allocations: 63.31 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008211, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001411/0.008352, allocations: 113.6 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008365, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.008371, allocations: 8.031 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.008384, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.008448, allocations: 23.92 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008453, allocations: 0 / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.008481, allocations: 4 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.008489, allocations: 8 kB / 384.4 MB, free: 11.98 MB / 362.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 (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 7.713e-05/0.008566, allocations: 164.5 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.008586, allocations: 19.89 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.008778, allocations: 135 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008781, allocations: 4 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008785, allocations: 4 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008789, allocations: 0 / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.009291, allocations: 440.6 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.009293, allocations: 0 / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.009333, allocations: 27.92 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009336, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.009346, allocations: 4 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009348, allocations: 0 / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.00935, allocations: 3.938 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.009529, allocations: 295.1 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.009543, allocations: 11.91 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.009564, allocations: 4 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.009612, allocations: 4 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.009652, allocations: 11.92 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.009668, allocations: 8 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.009751, allocations: 181 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009752, allocations: 0 / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.009946, allocations: 27.94 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00124/0.01119, allocations: 497.4 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01136, allocations: 67.59 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01136, allocations: 3.938 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.01142, allocations: 47.59 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.01177, allocations: 38.5 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.01223, allocations: 268.4 kB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.01229, allocations: 67.34 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.01235, allocations: 20.62 kB / 386.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.0124, allocations: 24.48 kB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0124, allocations: 0 / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Templates: time 0.005266/0.01766, allocations: 2.119 MB / 388.9 MB, free: 7.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.3268025182187557]