Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001011/0.001011, allocations: 81.86 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.001288/0.001288, allocations: 169.1 kB / 24.82 MB, free: 8.32 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.139/1.139, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3812/0.3812, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.775e-05, allocations: 2.312 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002828/0.002866, allocations: 1.75 MB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004408, allocations: 1.001 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004522, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.004888, allocations: 59.62 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.005174, allocations: 99.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.005329, allocations: 83.66 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.005476, allocations: 107.6 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.005575, allocations: 8 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.005662, allocations: 55.83 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.005736, allocations: 27.91 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.005753, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.005833, allocations: 51.84 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.005881, allocations: 27.92 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.005919, allocations: 19.88 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.006087, allocations: 115.6 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00609, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006091, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006096, allocations: 4 kB / 382 MB, free: 14.9 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.0004996/0.006596, allocations: 479.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.006642, allocations: 8.031 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.006685, allocations: 20.78 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006862, allocations: 169.2 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.006878, allocations: 384 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.006895, allocations: 4.375 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.00702, allocations: 58.94 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.007032, allocations: 11.94 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.007039, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007046, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.007075, allocations: 11.98 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.007344, allocations: 268.4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.007433, allocations: 47.17 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.007457, allocations: 19.66 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.007477, allocations: 4 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.007579, allocations: 72.92 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.007581, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003331/0.007914, allocations: 133.5 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.007946, allocations: 51.41 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.008099, allocations: 273.6 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.008116, allocations: 33.69 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.008189, allocations: 170.8 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.00822, allocations: 27.78 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.008253, allocations: 31.36 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.0084, allocations: 0.5001 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.008415, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.00845, allocations: 35.34 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.008499, allocations: 55.36 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0085, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.818e-05/0.008598, allocations: 89.47 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008612, allocations: 9.875 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008616, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.00863, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.008698, allocations: 23.92 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008703, allocations: 4 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.00873, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.008738, allocations: 7.984 kB / 384.6 MB, free: 12.09 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 8.338e-05/0.008821, allocations: 156.6 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.008837, allocations: 27.88 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.00897, allocations: 99.06 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.008972, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008973, allocations: 384 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.00898, allocations: 7.984 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.009235, allocations: 365.6 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.009237, allocations: 4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.009265, allocations: 15.98 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.009267, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.009272, allocations: 4.031 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.009276, allocations: 7.938 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.009277, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.009413, allocations: 259.3 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.009426, allocations: 15.91 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.009441, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.009479, allocations: 7.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.009512, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.009529, allocations: 11.98 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.257e-05/0.009621, allocations: 188.5 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009621, allocations: 3.938 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.009782, allocations: 27.94 kB / 385.7 MB, free: 10.84 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.0009642/0.01075, allocations: 438.1 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01085, allocations: 51.58 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01085, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.0109, allocations: 31.61 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01113, allocations: 43.81 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.0115, allocations: 258.6 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.218e-05/0.01155, allocations: 79.33 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.01159, allocations: 16.97 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.01166, allocations: 86.19 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01166, allocations: 0 / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of Templates: time 0.003662/0.01532, allocations: 2.065 MB / 388.8 MB, free: 7.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.439918838907033]