Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001427/0.001427, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001823/0.001823, allocations: 156.9 kB / 24.27 MB, free: 176 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.571/1.571, allocations: 177 MB / 204.4 MB, free: 5.609 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.3557/0.3557, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.556e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003232/0.003257, allocations: 1.722 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.006012, allocations: 1.691 MB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.006091, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.00637, allocations: 43.64 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.006789, allocations: 103.5 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.007042, allocations: 75.61 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.007248, allocations: 111.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.007324, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.007453, allocations: 67.75 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.007578, allocations: 31.89 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.007601, allocations: 12 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.007814, allocations: 95.88 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.007872, allocations: 19.92 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.00792, allocations: 19.92 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.008258, allocations: 183.3 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00826, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00826, allocations: 0 / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.008264, allocations: 0 / 381.5 MB, free: 14.63 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.0006384/0.008903, allocations: 353.5 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.008936, allocations: 11.97 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.00901, allocations: 20.89 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.009314, allocations: 146.2 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.009328, allocations: 384 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.009355, allocations: 8.312 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.009586, allocations: 97.64 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.009599, allocations: 3.938 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.009611, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.009615, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.009699, allocations: 23.98 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.01012, allocations: 228.6 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.01033, allocations: 66.59 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.01041, allocations: 24.8 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01042, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.0106, allocations: 71.38 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.01061, allocations: 0 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006714/0.01128, allocations: 185.3 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.01135, allocations: 77.11 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.01159, allocations: 174.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.01161, allocations: 33.64 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.0117, allocations: 100.1 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.01175, allocations: 23.8 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.0118, allocations: 25.7 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.012, allocations: 322.8 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.01208, allocations: 23.98 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01218, allocations: 68.27 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.01233, allocations: 61.66 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01234, allocations: 384 / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002417/0.01258, allocations: 113.5 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01259, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.0126, allocations: 4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.01262, allocations: 0 / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01272, allocations: 23.92 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01273, allocations: 160 / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.01279, allocations: 4 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.0128, allocations: 11.94 kB / 383.7 MB, free: 12.15 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.000129/0.01293, allocations: 121.8 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.01297, allocations: 15.98 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.01327, allocations: 126.5 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.01327, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01328, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01328, allocations: 0 / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.01381, allocations: 350.9 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.01382, allocations: 4 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.01386, allocations: 8 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.01387, allocations: 3.984 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.01387, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01388, allocations: 8.031 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01388, allocations: 0 / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.01421, allocations: 216.2 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.01424, allocations: 15.94 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.01426, allocations: 4 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.01434, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.01439, allocations: 11.92 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.01441, allocations: 8 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.01456, allocations: 131.2 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01456, allocations: 0 / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.01489, allocations: 47.86 kB / 384.8 MB, free: 11.02 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.002645/0.01754, allocations: 0.5804 MB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01776, allocations: 59.91 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01777, allocations: 0 / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.01786, allocations: 39.98 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.01825, allocations: 34.78 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.01878, allocations: 201.4 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01889, allocations: 89.44 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.01896, allocations: 21.34 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.01902, allocations: 20.48 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01902, allocations: 0 / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006935/0.02595, allocations: 2.54 MB / 388.3 MB, free: 7.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.988013857975602]