Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009614/0.0009614, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009094/0.0009094, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9677/0.9677, allocations: 177 MB / 205.2 MB, free: 5.039 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.3098/0.3098, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/1.985e-05, allocations: 6.312 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002934/0.002954, allocations: 1.767 MB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004147, allocations: 1.009 MB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.004198, allocations: 0 / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.004351, allocations: 43.7 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.004564, allocations: 91.48 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.004722, allocations: 83.59 kB / 329 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.004831, allocations: 112.4 kB / 329.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.004876, allocations: 7.984 kB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.004945, allocations: 59.77 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.004993, allocations: 31.91 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.005012, allocations: 4 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.005078, allocations: 43.92 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.005109, allocations: 15.92 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.005134, allocations: 23.86 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.005256, allocations: 103.6 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005258, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005258, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.514e-06/0.005261, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.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.0002463/0.005507, allocations: 325.5 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.184e-05/0.005529, allocations: 12.03 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.005548, allocations: 8.922 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.005653, allocations: 146.3 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.005662, allocations: 4.375 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.005674, allocations: 4.375 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.361e-05/0.005738, allocations: 61.75 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.005743, allocations: 8.109 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.005749, allocations: 4.375 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005754, allocations: 7.938 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.005773, allocations: 7.938 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.005916, allocations: 166 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.005986, allocations: 85.28 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.006004, allocations: 12.92 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.006009, allocations: 0 / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.00607, allocations: 66.14 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.006071, allocations: 0 / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001955/0.006266, allocations: 113.5 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.006292, allocations: 59.39 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.006383, allocations: 177.3 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.006394, allocations: 33.7 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.006424, allocations: 96.11 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.006445, allocations: 23.78 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.006473, allocations: 25.7 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.00655, allocations: 326.8 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.006563, allocations: 6.828 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.006584, allocations: 29.7 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.006621, allocations: 44.45 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006622, allocations: 4 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.101e-05/0.006683, allocations: 68.5 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006693, allocations: 9.188 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.006695, allocations: 0 / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.006701, allocations: 0 / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.006741, allocations: 19.92 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.006743, allocations: 4 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.006764, allocations: 4.375 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006769, allocations: 4 kB / 331.3 MB, free: 1.57 MB / 298.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 5.2e-05/0.006821, allocations: 112.7 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006834, allocations: 23.95 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.006922, allocations: 75.08 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.006926, allocations: 3.984 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006928, allocations: 4 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006931, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.007116, allocations: 295.5 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007118, allocations: 3.938 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.007137, allocations: 12 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.007138, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.007144, allocations: 3.984 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007145, allocations: 4.109 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007147, allocations: 7.984 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.428e-05/0.007241, allocations: 215 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.007252, allocations: 11.89 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.007264, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.007301, allocations: 7.984 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.007317, allocations: 8 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.007324, allocations: 3.984 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.007362, allocations: 51.59 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007362, allocations: 0 / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.007502, allocations: 31.92 kB / 332.2 MB, free: 0.6367 MB / 298.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.001192/0.008694, allocations: 0.5519 MB / 332.7 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.008763, allocations: 44.78 kB / 332.8 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.008766, allocations: 4 kB / 332.8 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.008789, allocations: 24.83 kB / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.008935, allocations: 39.91 kB / 332.8 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.00916, allocations: 212 kB / 333 MB, free: 16 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.009202, allocations: 67.33 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.009233, allocations: 21.27 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.009286, allocations: 67.5 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009287, allocations: 0 / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.002919/0.01221, allocations: 2.023 MB / 335.2 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.9650263199582696]