Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001056/0.001056, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009608/0.0009608, allocations: 156.5 kB / 24.55 MB, free: 20 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.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.605 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.2945/0.2945, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.566e-05, allocations: 6.312 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002316/0.002341, allocations: 1.764 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003658, allocations: 1.02 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.003744, allocations: 4 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.004068, allocations: 35.72 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.004351, allocations: 91.55 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.004509, allocations: 87.53 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.004669, allocations: 103.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.004762, allocations: 11.98 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.004843, allocations: 51.77 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.004916, allocations: 27.91 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.004934, allocations: 8 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.005021, allocations: 47.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.005074, allocations: 19.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.005116, allocations: 15.94 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005307, allocations: 99.59 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.00531, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005311, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005316, 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.000465/0.005781, allocations: 443.8 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.005819, allocations: 8.031 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.005863, allocations: 20.89 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006025, allocations: 141.9 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.006042, allocations: 4.375 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.006065, allocations: 384 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006189, allocations: 66.88 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.006197, allocations: 192 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006208, allocations: 4.359 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.006218, allocations: 7.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.006257, allocations: 8 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.006544, allocations: 275.8 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.006661, allocations: 63.11 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.006694, allocations: 19.67 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.00671, allocations: 3.984 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.006819, allocations: 72.94 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.00682, allocations: 0 / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004045/0.007225, allocations: 153.4 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.007259, allocations: 51.41 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.007386, allocations: 220.1 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.007399, allocations: 29.7 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.007454, allocations: 146.9 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.007482, allocations: 27.78 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.007516, allocations: 27.38 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.00764, allocations: 0.4962 MB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.007664, allocations: 11.98 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.007701, allocations: 43.23 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.007754, allocations: 43.38 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007755, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.007858, allocations: 101.8 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.007868, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007872, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.007889, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.007961, allocations: 23.98 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007967, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.007993, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.008, allocations: 4 kB / 384.7 MB, free: 11.88 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.812e-05/0.008078, allocations: 166.9 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.008094, allocations: 15.89 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.00826, allocations: 106.4 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008263, allocations: 3.984 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008266, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.008269, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.008545, allocations: 389 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008546, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.008572, allocations: 8 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008574, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.008582, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008584, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008585, allocations: 4.031 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.008723, allocations: 259.4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.008736, allocations: 15.94 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.008752, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.00879, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.008823, allocations: 11.98 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.008835, allocations: 4 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.98e-05/0.008905, allocations: 164 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008905, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.009076, allocations: 27.92 kB / 385.9 MB, free: 10.63 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.0008646/0.00994, allocations: 440.1 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01005, allocations: 55.55 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01005, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.0101, allocations: 35.61 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01033, allocations: 31.92 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.01064, allocations: 210.3 kB / 386.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.01068, allocations: 63.47 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.355e-05/0.01072, allocations: 21.27 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.01075, allocations: 20.5 kB / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01075, allocations: 0 / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.00347/0.01422, allocations: 1.857 MB / 388.6 MB, free: 8.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.3830027650110424]