Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001001/0.001001, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.0009991/0.0009991, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 0.9619/0.9619, allocations: 177 MB / 204.8 MB, free: 5.582 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.2662/0.2662, allocations: 34.86 MB / 296.3 MB, free: 0.5625 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.322e-05, allocations: 3.859 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002198/0.002222, allocations: 1.766 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.003462, allocations: 1.016 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.00354, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.003848, allocations: 43.7 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.004166, allocations: 99.53 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.004388, allocations: 75.61 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.00457, allocations: 115.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004675, allocations: 4 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.004767, allocations: 59.77 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.004848, allocations: 23.91 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004865, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.004958, allocations: 43.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.005018, allocations: 23.91 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.005064, allocations: 19.94 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005257, allocations: 111.5 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005259, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00526, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005265, allocations: 0 / 382.2 MB, free: 14.59 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.0005437/0.005809, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.005856, allocations: 12.03 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.005906, allocations: 8.891 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.006092, allocations: 156.9 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.006112, allocations: 384 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.006142, allocations: 8.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.006285, allocations: 66.88 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006298, allocations: 4.188 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006309, allocations: 4.375 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.006318, allocations: 7.875 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.006357, allocations: 11.98 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.006681, allocations: 283.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.006796, allocations: 51.11 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.00683, allocations: 23.67 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.006846, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.615e-05/0.006942, allocations: 72.98 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.006943, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.007324, allocations: 157.3 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.007354, allocations: 51.41 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.007495, allocations: 241.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.007507, allocations: 25.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.007576, allocations: 158.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.007605, allocations: 31.77 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.007639, allocations: 23.38 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.007759, allocations: 0.4962 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.007786, allocations: 19.98 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.007821, allocations: 31.31 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.007879, allocations: 51.36 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007881, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.007984, allocations: 93.52 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007996, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008001, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.008013, allocations: 0 / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.008082, allocations: 19.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008088, allocations: 4.031 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.008115, allocations: 3.953 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008121, allocations: 4 kB / 384.8 MB, free: 11.82 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.468e-05/0.008195, allocations: 170.9 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.008212, allocations: 19.88 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.008354, allocations: 107.2 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008357, allocations: 3.984 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.00836, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008364, allocations: 384 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.008656, allocations: 404.9 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008659, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.008683, allocations: 11.94 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008684, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008694, allocations: 7.984 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008695, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008696, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.008844, allocations: 259.4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.008856, allocations: 11.91 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.008875, allocations: 4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.008914, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008949, allocations: 16.02 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.00896, allocations: 4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.009046, allocations: 180.2 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009047, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.009226, allocations: 27.94 kB / 386 MB, free: 10.54 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.0009181/0.01014, allocations: 424.4 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.01027, allocations: 59.58 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01027, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.01031, allocations: 39.67 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01055, allocations: 31.97 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.0109, allocations: 217.9 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.01095, allocations: 75.28 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.01098, allocations: 21.27 kB / 386.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.01102, allocations: 16.5 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01102, allocations: 4.062 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of Templates: time 0.004148/0.01517, allocations: 1.864 MB / 388.7 MB, free: 7.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.3856599619612098]