Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001198/0.001198, allocations: 82.59 kB / 21.43 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.0009217/0.0009217, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9775/0.9775, allocations: 177 MB / 205.1 MB, free: 5.465 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.2495/0.2495, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.423e-05, allocations: 3.297 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.005713/0.005738, allocations: 1.755 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.007087, allocations: 1.008 MB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.007158, allocations: 0 / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.01045, allocations: 47.7 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.01077, allocations: 107.5 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.01099, allocations: 83.59 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.01115, allocations: 99.69 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.01124, allocations: 11.98 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.01134, allocations: 51.78 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.01143, allocations: 31.89 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.01144, allocations: 4 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.01154, allocations: 43.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.01159, allocations: 23.92 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.01163, allocations: 27.86 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.01181, allocations: 107.6 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01181, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01181, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.01182, allocations: 0 / 382.7 MB, free: 14.3 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.0004677/0.01229, allocations: 471.6 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01232, allocations: 8.031 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.01237, allocations: 16.84 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.01254, allocations: 157.2 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.01255, allocations: 4.375 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.01257, allocations: 4.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.01269, allocations: 62.94 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.0127, allocations: 192 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.01271, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.01271, allocations: 3.938 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.01274, allocations: 15.92 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.01301, allocations: 260.4 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.0131, allocations: 51.16 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.01312, allocations: 11.69 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.01313, allocations: 8 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.48e-05/0.01323, allocations: 64.98 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.01323, allocations: 0 / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.003365/0.01659, allocations: 145.4 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.01662, allocations: 59.39 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.01677, allocations: 251 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.01678, allocations: 25.7 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.01685, allocations: 166.8 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.01688, allocations: 23.78 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.01692, allocations: 31.36 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01705, allocations: 0.5001 MB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.01707, allocations: 11.98 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.0171, allocations: 35.34 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.01715, allocations: 43.3 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01715, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001231/0.01728, allocations: 97.41 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01729, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.0173, allocations: 3.984 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01731, allocations: 4 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.01738, allocations: 20.02 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.01738, allocations: 0 / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.01741, allocations: 4 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01742, allocations: 4 kB / 385.2 MB, free: 11.55 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.633e-05/0.0175, allocations: 160.6 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.01752, allocations: 23.84 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.01767, allocations: 99.06 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01767, allocations: 0 / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01767, allocations: 4 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01767, allocations: 0 / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.01796, allocations: 369.5 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01796, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.01799, allocations: 15.92 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.018, allocations: 0 / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01801, allocations: 8 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01801, allocations: 0 / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01801, allocations: 0 / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.01817, allocations: 255.4 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.01819, allocations: 11.94 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.0182, allocations: 32 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.01827, allocations: 11.98 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.01829, allocations: 8 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.0183, allocations: 4.359 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.021e-05/0.01838, allocations: 171.1 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01838, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.01862, allocations: 35.88 kB / 386.4 MB, free: 10.32 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.001573/0.0202, allocations: 433.5 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.02031, allocations: 55.58 kB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02031, allocations: 0 / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.02035, allocations: 27.62 kB / 386.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.02064, allocations: 35.91 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.02102, allocations: 229.6 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.617e-05/0.02109, allocations: 67.34 kB / 387.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.02113, allocations: 17.27 kB / 387.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.02121, allocations: 98.31 kB / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02121, allocations: 0 / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of Templates: time 0.004093/0.02531, allocations: 2.06 MB / 389.4 MB, free: 7.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.9005983876995742]