Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.0008312/0.0008312, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.0008887/0.0008887, allocations: 162.2 kB / 24.82 MB, free: 9.312 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 0.9252/0.9252, allocations: 177 MB / 205.1 MB, free: 5.473 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.2513/0.2513, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.838e-05, allocations: 3.016 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002933/0.002951, allocations: 1.757 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.005119, allocations: 1.733 MB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.0052, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.005477, allocations: 39.77 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.005809, allocations: 103.4 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.005998, allocations: 83.61 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.006169, allocations: 111.6 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.006259, allocations: 8 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.006364, allocations: 55.83 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006477, allocations: 35.89 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.006496, allocations: 4 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.006683, allocations: 111.8 kB / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.006732, allocations: 19.86 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.006774, allocations: 27.91 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.007038, allocations: 151.5 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.007039, allocations: 4 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00704, allocations: 0 / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.007044, allocations: 4 kB / 383.6 MB, free: 13.49 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.0004893/0.007533, allocations: 451.7 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.007574, allocations: 12.03 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.007615, allocations: 12.88 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.007789, allocations: 153 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.007803, allocations: 384 / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.007821, allocations: 8.375 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.007964, allocations: 100 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.007976, allocations: 11.89 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.007985, allocations: 4 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007992, allocations: 4 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.008023, allocations: 11.92 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.008309, allocations: 252.4 kB / 384.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.008407, allocations: 51.09 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.008432, allocations: 15.75 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.008444, allocations: 3.938 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.725e-05/0.008542, allocations: 72.97 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.008543, allocations: 4 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003544/0.008898, allocations: 133.4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.008939, allocations: 85.09 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.009093, allocations: 211.5 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.009112, allocations: 25.7 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.009172, allocations: 142.9 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.009201, allocations: 27.78 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.009245, allocations: 35.3 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.009385, allocations: 0.4923 MB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.009408, allocations: 11.98 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.009462, allocations: 73.05 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.009519, allocations: 39.38 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.00952, allocations: 0 / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001293/0.00965, allocations: 101.4 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.009662, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.009667, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.009679, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.00975, allocations: 12 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.009753, allocations: 0 / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.009796, allocations: 12.05 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.009805, allocations: 8 kB / 386.1 MB, free: 10.7 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.264e-05/0.009888, allocations: 156.5 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.009913, allocations: 19.89 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.01009, allocations: 94.44 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01009, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01009, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01009, allocations: 7.938 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01042, allocations: 357.6 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01043, allocations: 4.031 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.01046, allocations: 11.94 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01046, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01047, allocations: 4 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01047, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01047, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.01066, allocations: 259.4 kB / 387 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.01067, allocations: 7.938 kB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.01069, allocations: 4 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.01076, allocations: 8 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.01079, allocations: 11.97 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.0108, allocations: 4 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.01089, allocations: 157.4 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01089, allocations: 0 / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.0112, allocations: 51.8 kB / 387.2 MB, free: 9.484 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.001487/0.01268, allocations: 0.5334 MB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01282, allocations: 51.58 kB / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01282, allocations: 0 / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.01287, allocations: 27.61 kB / 387.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.01321, allocations: 40.05 kB / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.0136, allocations: 197.9 kB / 388.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.01366, allocations: 63.34 kB / 388.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.01372, allocations: 20.97 kB / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.01384, allocations: 102.1 kB / 388.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01384, allocations: 0 / 388.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of Templates: time 0.005715/0.01956, allocations: 2.786 MB / 391 MB, free: 5.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 2.9649217817932367]