Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001075/0.001075, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001288/0.001288, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.9421/0.9421, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.1422/0.1422, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.413e-05, allocations: 3.188 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002879/0.002903, allocations: 1.921 MB / 379.3 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004453, allocations: 1.095 MB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.004558, allocations: 3.938 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.004944, allocations: 151.5 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.005333, allocations: 195.1 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.005556, allocations: 119.6 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.00583, allocations: 255.2 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005944, allocations: 17.95 kB / 381.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.006107, allocations: 139.6 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.006262, allocations: 127.7 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.006286, allocations: 8 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.0064, allocations: 71.84 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.006468, allocations: 55.77 kB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.006519, allocations: 43.8 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.006748, allocations: 183.2 kB / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006751, allocations: 0 / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006751, allocations: 0 / 381.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.006755, allocations: 4 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005404/0.007296, allocations: 0.573 MB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.00733, allocations: 15.98 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.007391, allocations: 28.8 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.007602, allocations: 212.6 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.007622, allocations: 8.375 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.007645, allocations: 16.27 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.007815, allocations: 114.2 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.007828, allocations: 3.938 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.007841, allocations: 8 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.007848, allocations: 4 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.007907, allocations: 23.91 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.008265, allocations: 459.2 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.008491, allocations: 118 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.008534, allocations: 35.34 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.008547, allocations: 4 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.008682, allocations: 128.4 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.008684, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005779/0.009262, allocations: 365 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.009286, allocations: 85.05 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.009424, allocations: 350.1 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.009436, allocations: 33.7 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.009495, allocations: 203.2 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.009532, allocations: 75.36 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.009572, allocations: 55.34 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.009631, allocations: 0.5196 MB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.009659, allocations: 27.97 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.009704, allocations: 70.7 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.009788, allocations: 102.7 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.009789, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001505/0.009939, allocations: 188 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.009951, allocations: 8.062 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.009955, allocations: 4 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.009965, allocations: 4 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.01004, allocations: 39.97 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01005, allocations: 7.938 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.01009, allocations: 19.88 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.0101, allocations: 8 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.285e-05/0.01016, allocations: 164.6 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01019, allocations: 39.81 kB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.0104, allocations: 212.3 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.0104, allocations: 8 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01041, allocations: 0 / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01041, allocations: 3.938 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.01077, allocations: 0.683 MB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01077, allocations: 0 / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.01082, allocations: 39.92 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01082, allocations: 7.938 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01083, allocations: 4 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01083, allocations: 4.125 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01084, allocations: 4 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01102, allocations: 0.5004 MB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.01103, allocations: 27.75 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01106, allocations: 8 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.01113, allocations: 11.98 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.01116, allocations: 15.97 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.01117, allocations: 12 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.01125, allocations: 234.9 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01125, allocations: 4 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.01146, allocations: 51.92 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009783/0.01244, allocations: 0.4885 MB / 388.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.01256, allocations: 119.4 kB / 388.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01256, allocations: 0 / 388.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.01262, allocations: 67.53 kB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.01293, allocations: 64.97 kB / 388.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.01331, allocations: 467.4 kB / 388.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.01335, allocations: 92.17 kB / 388.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.01341, allocations: 42.3 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.0135, allocations: 118.2 kB / 389 MB, free: 13.54 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0135, allocations: 0 / 389 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Templates: time 0.004722/0.01822, allocations: 3.716 MB / 392.8 MB, free: 9.887 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.2964681671001017]