Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009433/0.0009433, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.062/1.062, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2667/0.2667, allocations: 34.86 MB / 296.6 MB, free: 0.5703 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.054e-05, allocations: 6.25 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003279/0.00331, allocations: 1.766 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.005012, allocations: 1.011 MB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.005131, allocations: 0 / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.005482, allocations: 51.69 kB / 381.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.00586, allocations: 103.5 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.006099, allocations: 79.61 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.006314, allocations: 107.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.00642, allocations: 15.98 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.006526, allocations: 43.84 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.006656, allocations: 31.89 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.006676, allocations: 4 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.006782, allocations: 39.94 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.00685, allocations: 27.91 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.0069, allocations: 27.86 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.007122, allocations: 103.6 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.007125, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007126, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007131, allocations: 4 kB / 382.2 MB, free: 14.92 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.0005521/0.007683, allocations: 467.7 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.007728, allocations: 12.02 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.007802, allocations: 16.84 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.008044, allocations: 153.2 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.008067, allocations: 8.375 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.00809, allocations: 8.312 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.008246, allocations: 62.94 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.008257, allocations: 4.172 kB / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.008267, allocations: 384 / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008276, allocations: 7.938 kB / 383 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.008313, allocations: 11.98 kB / 383 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.008705, allocations: 295.8 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.008822, allocations: 51.11 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.008856, allocations: 19.67 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.008871, allocations: 4 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.008987, allocations: 68.98 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008989, allocations: 0 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004693/0.009458, allocations: 165.3 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.009502, allocations: 55.41 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.009681, allocations: 259.1 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.009697, allocations: 29.7 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.009758, allocations: 154.9 kB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.009787, allocations: 23.8 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.009824, allocations: 35.36 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.009948, allocations: 0.5001 MB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.009975, allocations: 11.94 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.01001, allocations: 35.36 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.01007, allocations: 51.36 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01007, allocations: 0 / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001225/0.0102, allocations: 101.4 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01021, allocations: 4 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01021, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01023, allocations: 4 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.0103, allocations: 15.98 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01031, allocations: 0 / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.01035, allocations: 7.938 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.01036, allocations: 384 / 384.8 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 7.762e-05/0.01044, allocations: 164.6 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.01046, allocations: 19.84 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.01061, allocations: 107.1 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01061, allocations: 0 / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01062, allocations: 8 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01062, allocations: 0 / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.01093, allocations: 404.9 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01094, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.01096, allocations: 8 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01097, allocations: 4.031 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01098, allocations: 11.98 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01098, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01098, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01114, allocations: 259.4 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.01115, allocations: 15.91 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01117, allocations: 8 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.01121, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.01125, allocations: 7.984 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.01126, allocations: 4 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.355e-05/0.01135, allocations: 183.1 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01135, allocations: 4 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.01154, allocations: 23.94 kB / 386 MB, free: 10.8 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.001035/0.01258, allocations: 437 kB / 386.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01272, allocations: 59.53 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01272, allocations: 0 / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.01276, allocations: 31.67 kB / 386.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01302, allocations: 32.08 kB / 386.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.01341, allocations: 245.5 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.01345, allocations: 71.33 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.709e-05/0.01349, allocations: 21.27 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.01352, allocations: 16.5 kB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01352, allocations: 0 / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of Templates: time 0.003888/0.01741, allocations: 1.878 MB / 388.8 MB, free: 8.117 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.1364867098163813]