Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001959/0.001959, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002003/0.002003, allocations: 165.3 kB / 24.27 MB, free: 152 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.639/1.639, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3464/0.3464, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.611e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004645/0.004681, allocations: 1.735 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.007604, allocations: 0.9937 MB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.007701, allocations: 0 / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.008255, allocations: 83.64 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.008854, allocations: 127.4 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.009213, allocations: 75.61 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.009456, allocations: 123.6 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.009552, allocations: 11.94 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.009691, allocations: 63.81 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.009822, allocations: 59.8 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.009846, allocations: 4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.009955, allocations: 39.98 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.01004, allocations: 27.92 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.01012, allocations: 27.91 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.01046, allocations: 127.4 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.01047, allocations: 0 / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01047, allocations: 0 / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.01048, allocations: 0 / 380.9 MB, free: 15.37 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008767/0.01135, allocations: 459.5 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.01141, allocations: 8.031 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.0115, allocations: 16.84 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.0118, allocations: 160.4 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.01181, allocations: 384 / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.01183, allocations: 4.375 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.01204, allocations: 58.17 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01206, allocations: 3.938 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.01208, allocations: 4 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.01208, allocations: 0 / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01219, allocations: 11.98 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.0128, allocations: 307.7 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.01307, allocations: 67.11 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.01317, allocations: 31.59 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01319, allocations: 0 / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.01341, allocations: 73.05 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.01341, allocations: 0 / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009263/0.01434, allocations: 185.3 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.01441, allocations: 51.41 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.01484, allocations: 258.7 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.01488, allocations: 33.7 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.01505, allocations: 158.9 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.01511, allocations: 23.8 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.0152, allocations: 35.36 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000376/0.01558, allocations: 0.5001 MB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.01567, allocations: 24.36 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.01581, allocations: 51.28 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.016, allocations: 67.38 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.01601, allocations: 4 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.01633, allocations: 109.5 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.01636, allocations: 10.03 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01636, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01638, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.01652, allocations: 12 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.01653, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.0166, allocations: 8.016 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.01661, allocations: 4 kB / 383.5 MB, free: 12.45 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.0003309/0.01694, allocations: 168.5 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.017, allocations: 19.91 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.01737, allocations: 115.1 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.01738, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01738, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01739, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.01819, allocations: 424.9 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.0182, allocations: 8.031 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.01826, allocations: 8 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01826, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01828, allocations: 7.922 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01828, allocations: 4 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01828, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.01877, allocations: 275.4 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.0188, allocations: 7.953 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.01884, allocations: 4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01896, allocations: 7.984 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.01902, allocations: 0 / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.01904, allocations: 8 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.0193, allocations: 197 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0193, allocations: 0 / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.01979, allocations: 27.94 kB / 384.8 MB, free: 11.11 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.004931/0.02472, allocations: 0.4923 MB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.02504, allocations: 63.61 kB / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02504, allocations: 0 / 385.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.02518, allocations: 39.77 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.02577, allocations: 35.2 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.02652, allocations: 248.6 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.02668, allocations: 108.9 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.02676, allocations: 12.97 kB / 385.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.02682, allocations: 16.5 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02682, allocations: 0 / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Templates: time 0.008609/0.03543, allocations: 1.882 MB / 387.7 MB, free: 8.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: 5.056536688003689]