Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001008/0.001008, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009698/0.0009698, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9809/0.9809, allocations: 177.1 MB / 205 MB, free: 5.273 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.2777/0.2777, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.315e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.009714/0.009747, allocations: 1.776 MB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.01155, allocations: 1.009 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.01164, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.01204, allocations: 87.62 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.01554, allocations: 127.4 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.01582, allocations: 83.59 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.01606, allocations: 127.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.01618, allocations: 11.98 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.01632, allocations: 67.81 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.01646, allocations: 63.86 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.01648, allocations: 4 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.01661, allocations: 63.91 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.01667, allocations: 27.86 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.01673, allocations: 23.92 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.01699, allocations: 127.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.01699, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01699, allocations: 0 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.017, 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.0005899/0.01759, allocations: 459.8 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01764, allocations: 8.031 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.0177, allocations: 24.83 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.01794, allocations: 169.1 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.01796, allocations: 384 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.018, allocations: 12.36 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.01818, allocations: 62.94 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01819, allocations: 3.938 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.0182, allocations: 0 / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01821, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.01827, allocations: 11.98 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.01873, allocations: 307.6 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.01897, allocations: 66.92 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.01901, allocations: 19.67 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01903, allocations: 4 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.01917, allocations: 73.16 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.01917, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007697/0.01994, allocations: 229.2 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.01998, allocations: 55.39 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.02019, allocations: 255.1 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.02021, allocations: 29.7 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.02029, allocations: 162.9 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.02034, allocations: 39.69 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.0204, allocations: 27.38 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.02055, allocations: 0.5078 MB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.0206, allocations: 20 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.02066, allocations: 42.98 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.02076, allocations: 63.3 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.02076, allocations: 3.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.02095, allocations: 113.5 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.02097, allocations: 8.031 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.02098, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.02099, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.02108, allocations: 20 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.02109, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.02114, allocations: 7.984 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.02115, allocations: 4 kB / 384.5 MB, free: 11.95 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 0.0001093/0.02126, allocations: 168.5 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.02129, allocations: 19.91 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.02155, allocations: 135.2 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02155, allocations: 4 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02156, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.02156, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.02203, allocations: 448.5 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02203, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.02209, allocations: 16 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.0221, allocations: 3.984 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.02211, allocations: 8 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.02211, allocations: 0 / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.02212, allocations: 4 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.02237, allocations: 287.1 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.02239, allocations: 15.91 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.02242, allocations: 7.984 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.0225, allocations: 8 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.02254, allocations: 11.92 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.02256, allocations: 4 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.02269, allocations: 183.1 kB / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02269, allocations: 0 / 385.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.02301, allocations: 27.94 kB / 385.8 MB, free: 10.54 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.001525/0.02453, allocations: 492.9 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.02472, allocations: 71.53 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02472, allocations: 0 / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.0248, allocations: 43.67 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.02518, allocations: 40.47 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.02573, allocations: 269.4 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.02579, allocations: 75.27 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.02585, allocations: 16.64 kB / 386.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.02591, allocations: 24.61 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02591, allocations: 4 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of Templates: time 0.005987/0.0319, allocations: 2.281 MB / 389.1 MB, free: 7.398 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.155949825886637]