Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001994/0.001994, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002043/0.002043, allocations: 160.8 kB / 24.27 MB, free: 152 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 1.546/1.546, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3473/0.3473, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.62e-05, allocations: 3.859 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004887/0.004924, allocations: 1.723 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.007798, allocations: 1.007 MB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.007901, allocations: 4 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.008268, allocations: 39.64 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.008789, allocations: 99.64 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.009118, allocations: 83.61 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.009387, allocations: 103.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.009502, allocations: 12 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.009669, allocations: 59.81 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.009783, allocations: 27.86 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.009812, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.009966, allocations: 47.91 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.01005, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.01011, allocations: 19.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.01043, allocations: 111.6 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01044, allocations: 0 / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01044, allocations: 0 / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.01044, allocations: 0 / 380.6 MB, free: 15.44 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.0008357/0.01128, allocations: 463.4 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.01132, allocations: 12.03 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.01139, allocations: 12.84 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.01172, allocations: 149.1 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.01174, allocations: 4.375 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.01176, allocations: 8.359 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.01195, allocations: 50.23 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01196, allocations: 192 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.01197, allocations: 384 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.01198, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.01209, allocations: 23.92 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.01266, allocations: 303.7 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.01291, allocations: 59.17 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.01299, allocations: 23.67 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.01301, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.01322, allocations: 72.92 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.01322, allocations: 0 / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007789/0.014, allocations: 181.4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.01406, allocations: 51.41 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.01442, allocations: 250.4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.01446, allocations: 37.7 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.01461, allocations: 154.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.01466, allocations: 27.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.01474, allocations: 35.36 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003636/0.0151, allocations: 0.4962 MB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.01519, allocations: 19.94 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.0153, allocations: 43.36 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01551, allocations: 67.3 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01552, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003355/0.01585, allocations: 113.9 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.01587, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01588, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.0159, allocations: 3.984 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.01604, allocations: 20 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01605, allocations: 160 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.01612, allocations: 4 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01613, allocations: 4 kB / 383.3 MB, free: 12.56 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.0002106/0.01634, allocations: 164.6 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.01639, allocations: 19.84 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.01679, allocations: 127.1 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.0168, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.0168, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01681, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.01763, allocations: 413 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01763, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.01771, allocations: 15.92 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01771, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01773, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01773, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01773, allocations: 4.031 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.01821, allocations: 271.4 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.01825, allocations: 15.89 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.01828, allocations: 4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.01839, allocations: 4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.01845, allocations: 11.97 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.01847, allocations: 0 / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.0187, allocations: 179.2 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0187, allocations: 0 / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004675/0.01917, allocations: 27.92 kB / 384.5 MB, free: 11.23 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.004558/0.02373, allocations: 494.5 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.0241, allocations: 75.41 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.0241, allocations: 0 / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.02425, allocations: 43.67 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.0248, allocations: 32.05 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.02556, allocations: 226 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.02572, allocations: 100.3 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.901e-05/0.02579, allocations: 13.28 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.02586, allocations: 24.48 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02586, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.007952/0.03381, allocations: 1.866 MB / 387.4 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.946251923916861]