Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001477/0.001477, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001605/0.001605, allocations: 161.6 kB / 24.27 MB, free: 172 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.368/0.368, allocations: 32.81 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.405e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003626/0.00366, allocations: 1.731 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.005635, allocations: 0.9697 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.005704, allocations: 0 / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.006079, allocations: 87.64 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.006443, allocations: 119.4 kB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.006678, allocations: 83.59 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.00689, allocations: 111.7 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.006989, allocations: 15.91 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.007118, allocations: 63.77 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007241, allocations: 55.86 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.007263, allocations: 4 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.007374, allocations: 47.98 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.007448, allocations: 31.84 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.007499, allocations: 15.94 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.007753, allocations: 123.5 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.007756, allocations: 0 / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007757, allocations: 0 / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007762, allocations: 3.938 kB / 378.8 MB, free: 1.422 MB / 346.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.0006813/0.008444, allocations: 353.5 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.008488, allocations: 12.03 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.00855, allocations: 12.84 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.008864, allocations: 157.6 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.00888, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.008922, allocations: 4.375 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.009099, allocations: 58.22 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.009115, allocations: 3.938 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.009126, allocations: 0 / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.009134, allocations: 4 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.009221, allocations: 27.92 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.00963, allocations: 228.6 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.01013, allocations: 58.67 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.01019, allocations: 24.8 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.01021, allocations: 3.938 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.01039, allocations: 71.38 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01039, allocations: 0 / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006712/0.01106, allocations: 189.3 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.01112, allocations: 55.41 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.01142, allocations: 223.5 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.01144, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.01154, allocations: 116 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.01158, allocations: 23.8 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.01163, allocations: 25.7 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01183, allocations: 322.8 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.0119, allocations: 23.98 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.01198, allocations: 37.7 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01213, allocations: 69.58 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01213, allocations: 0 / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.01235, allocations: 105.5 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01237, allocations: 15.97 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01238, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.0124, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.0125, allocations: 16.36 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.01251, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.01256, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01257, allocations: 4 kB / 381 MB, free: 14.99 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 (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 0.0001505/0.01272, allocations: 137.7 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.01275, allocations: 15.91 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.01305, allocations: 127.2 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01305, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01306, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01306, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.01358, allocations: 358.9 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01358, allocations: 3.984 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.01363, allocations: 11.94 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01363, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01364, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01364, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01364, allocations: 4.031 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.01397, allocations: 228.2 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01399, allocations: 7.953 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.01401, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.01409, allocations: 4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01414, allocations: 11.98 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01415, allocations: 0 / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.01433, allocations: 181.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01433, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.01462, allocations: 23.94 kB / 382.1 MB, free: 13.82 MB / 362.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.002296/0.01692, allocations: 494.1 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01713, allocations: 63.91 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01713, allocations: 0 / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.01721, allocations: 31.98 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.01761, allocations: 35.91 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.01817, allocations: 260.1 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01829, allocations: 96.73 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.01835, allocations: 25.34 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.01839, allocations: 24.48 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01839, allocations: 0 / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Templates: time 0.005522/0.02392, allocations: 1.872 MB / 385 MB, free: 11.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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: 4.77011138794478]