Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001162/0.001162, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001334/0.001334, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.087/1.087, allocations: 177 MB / 205.9 MB, free: 4.457 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.174/0.174, allocations: 34.87 MB / 297.4 MB, free: 13.44 MB / 282.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.508e-05, allocations: 5.156 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003732/0.003767, allocations: 1.92 MB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.005361, allocations: 1.091 MB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.005468, allocations: 3.938 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.005883, allocations: 167.4 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.006268, allocations: 187.2 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.006466, allocations: 115.6 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.006696, allocations: 255.2 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.006818, allocations: 17.95 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.006961, allocations: 143.6 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.007098, allocations: 123.7 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.00712, allocations: 11.98 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.007218, allocations: 67.86 kB / 384.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.007286, allocations: 55.77 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.007334, allocations: 43.8 kB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.007551, allocations: 183.2 kB / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.007555, allocations: 0 / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007557, allocations: 4 kB / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.007563, allocations: 0 / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005413/0.008104, allocations: 0.5731 MB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.008142, allocations: 12.02 kB / 385 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.008195, allocations: 32.8 kB / 385.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.008398, allocations: 212.6 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.008422, allocations: 8.375 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.008447, allocations: 12.33 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.008607, allocations: 111.7 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.008619, allocations: 192 / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.008629, allocations: 4.375 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.008635, allocations: 7.938 kB / 385.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.008682, allocations: 35.89 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.009053, allocations: 455.2 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.009277, allocations: 114.1 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.009309, allocations: 31.36 kB / 386.1 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.009327, allocations: 7.984 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.009465, allocations: 132.3 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.009467, allocations: 0 / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006801/0.01015, allocations: 362.2 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.01018, allocations: 81.11 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01035, allocations: 350.2 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.01037, allocations: 33.64 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.01043, allocations: 199.2 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.01049, allocations: 83.34 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.01054, allocations: 55.34 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.01062, allocations: 0.5195 MB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.01066, allocations: 27.97 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.01071, allocations: 74.86 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.01081, allocations: 105.2 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01081, allocations: 4 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001922/0.011, allocations: 187 kB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.01102, allocations: 8.062 kB / 388.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01102, allocations: 0 / 388.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01104, allocations: 4 kB / 388.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.01113, allocations: 39.98 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01114, allocations: 11.92 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.01119, allocations: 8 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.0112, allocations: 4 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.656e-05/0.01129, allocations: 172.5 kB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.01132, allocations: 39.8 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.01157, allocations: 211.6 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01158, allocations: 4 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01158, allocations: 0 / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.01159, allocations: 7.922 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.01208, allocations: 0.6869 MB / 389.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01208, allocations: 4 kB / 389.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.01214, allocations: 31.94 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.01214, allocations: 7.984 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01216, allocations: 12.06 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01216, allocations: 4 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01216, allocations: 0 / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01241, allocations: 0.4945 MB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.01243, allocations: 27.8 kB / 390 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.01246, allocations: 11.94 kB / 390 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.01254, allocations: 12 kB / 390 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.01259, allocations: 15.97 kB / 390 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.0126, allocations: 15.98 kB / 390.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.0127, allocations: 230.9 kB / 390.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0127, allocations: 4 kB / 390.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.01295, allocations: 55.92 kB / 390.3 MB, free: 12.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001154/0.01411, allocations: 486.9 kB / 390.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.01431, allocations: 119.5 kB / 390.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01431, allocations: 0 / 390.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.01438, allocations: 77.08 kB / 391 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.01475, allocations: 56.55 kB / 391.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.0153, allocations: 471.9 kB / 391.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.01535, allocations: 92.55 kB / 391.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.357e-05/0.01544, allocations: 41.92 kB / 391.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01555, allocations: 118.2 kB / 391.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of SimCode: time 2.355e-06/0.01555, allocations: 0 / 391.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Templates: time 0.006456/0.022, allocations: 3.723 MB / 395.5 MB, free: 7.051 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.7119284942746162]