Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001207/0.001207, allocations: 81.95 kB / 21.42 MB, free: 3.074 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.001455/0.001455, allocations: 170.7 kB / 24.82 MB, free: 8.77 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 1.169/1.169, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.454/0.454, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.934e-05, allocations: 9.766 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003347/0.003387, allocations: 1.758 MB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.004985, allocations: 0.9936 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.005107, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.005516, allocations: 43.64 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.005896, allocations: 95.53 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.006132, allocations: 91.59 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.006326, allocations: 107.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00644, allocations: 7.984 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.006546, allocations: 51.84 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.006631, allocations: 31.84 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.006648, allocations: 4 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.006744, allocations: 47.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.006801, allocations: 19.92 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.006842, allocations: 15.94 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.007038, allocations: 95.66 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.007043, allocations: 0 / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.007045, allocations: 7.938 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.007051, allocations: 7.938 kB / 381.9 MB, free: 14.93 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.0005478/0.007598, allocations: 447.8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.007649, allocations: 8.031 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.007696, allocations: 16.84 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.007885, allocations: 157.1 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.007905, allocations: 384 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.007926, allocations: 8.375 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.008081, allocations: 54.94 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.008095, allocations: 7.938 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.008103, allocations: 8 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.008111, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.008142, allocations: 11.92 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.008469, allocations: 260.4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.00858, allocations: 47.17 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.008605, allocations: 15.69 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.008624, allocations: 7.938 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.008761, allocations: 76.95 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.008764, allocations: 7.984 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000401/0.009165, allocations: 129.5 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.009202, allocations: 51.41 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.009342, allocations: 230.3 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.00936, allocations: 29.7 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.009429, allocations: 150.8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.00946, allocations: 23.8 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.009503, allocations: 35.3 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.009661, allocations: 0.4962 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.009685, allocations: 8 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.009722, allocations: 35.34 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.009777, allocations: 51.38 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009778, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001244/0.009903, allocations: 93.44 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.009919, allocations: 4 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.009925, allocations: 4 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.009945, allocations: 0 / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.01003, allocations: 12 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01003, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.01007, allocations: 16.02 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.01008, allocations: 0 / 384.4 MB, free: 12.25 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.0001001/0.01018, allocations: 164.5 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.0102, allocations: 19.84 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01037, allocations: 95.12 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01037, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01037, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01038, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.01071, allocations: 357.6 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.01071, allocations: 3.984 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.01075, allocations: 19.97 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01075, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01076, allocations: 4.375 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01077, allocations: 4 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01077, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.01094, allocations: 255.4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.01096, allocations: 11.95 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01098, allocations: 7.984 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.01103, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.01107, allocations: 11.98 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.01108, allocations: 8 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.01116, allocations: 160.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01116, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.01134, allocations: 27.94 kB / 385.5 MB, free: 11.04 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.001584/0.01292, allocations: 436.9 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01307, allocations: 47.59 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.01308, allocations: 4 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.01312, allocations: 27.73 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.0134, allocations: 47.05 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.01387, allocations: 214 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.01392, allocations: 67.34 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.01396, allocations: 12.97 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.01404, allocations: 90.19 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.814e-06/0.01405, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005199/0.01925, allocations: 2.05 MB / 388.5 MB, free: 8.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.710623408202082]