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.001462/0.001462, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001404/0.001404, allocations: 156.5 kB / 24.55 MB, free: 16 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.05/1.05, allocations: 177 MB / 204.8 MB, free: 5.578 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.2867/0.2867, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.183e-05, allocations: 4 kB / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002273/0.002295, allocations: 1.774 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.0042, allocations: 1.733 MB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.004306, allocations: 4 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.004626, allocations: 35.77 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.005102, allocations: 103.4 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.005404, allocations: 83.61 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.005597, allocations: 107.7 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.00569, allocations: 4 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005798, allocations: 67.77 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005932, allocations: 31.89 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.005955, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.006142, allocations: 107.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.006191, allocations: 19.92 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.006233, allocations: 23.91 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.006497, allocations: 159.5 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.006499, allocations: 4 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006499, allocations: 0 / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006504, allocations: 0 / 383.1 MB, free: 13.73 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.000511/0.007015, allocations: 451.8 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.007057, allocations: 8.031 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.007117, allocations: 16.89 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.007314, allocations: 148.9 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.007333, allocations: 4.375 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.007352, allocations: 4.375 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.007495, allocations: 108 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.007506, allocations: 11.89 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.007515, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.007524, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.007559, allocations: 15.98 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.007894, allocations: 283.8 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.007995, allocations: 51.17 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.008025, allocations: 23.61 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.008036, allocations: 0 / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.45e-05/0.008131, allocations: 72.98 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.008132, allocations: 7.938 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000384/0.008516, allocations: 149.3 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.008577, allocations: 81.11 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.008707, allocations: 215.3 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.008726, allocations: 25.7 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.00879, allocations: 146.9 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.008817, allocations: 27.78 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.008901, allocations: 27.38 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.00903, allocations: 0.4923 MB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.009056, allocations: 15.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.009113, allocations: 64.77 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/0.009179, allocations: 59.61 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.009179, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001399/0.009319, allocations: 89.58 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.009333, allocations: 7.938 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.009341, allocations: 8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.009356, allocations: 3.984 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.009441, allocations: 15.98 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.009448, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.009494, allocations: 12.06 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.009506, allocations: 4 kB / 385.7 MB, free: 10.87 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.0002089/0.009714, allocations: 170.9 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.009746, allocations: 7.953 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.009967, allocations: 102.4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.00997, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.009975, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.009983, allocations: 3.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.01039, allocations: 392.9 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.0104, allocations: 4.031 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.01044, allocations: 8 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01044, allocations: 7.922 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01045, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01045, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.01046, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.01071, allocations: 255.4 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.01073, allocations: 11.95 kB / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01075, allocations: 7.938 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.0108, allocations: 3.984 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.01083, allocations: 12 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.01085, allocations: 7.984 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.01095, allocations: 165.5 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01095, allocations: 0 / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000373/0.01132, allocations: 43.88 kB / 386.9 MB, free: 9.598 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.001476/0.01279, allocations: 0.5327 MB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01295, allocations: 51.61 kB / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01295, allocations: 0 / 387.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.01299, allocations: 35.61 kB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.01323, allocations: 40.03 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01365, allocations: 197.9 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.01371, allocations: 63.34 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.01377, allocations: 16.97 kB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.01382, allocations: 20.5 kB / 387.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.01382, allocations: 3.938 kB / 387.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of Templates: time 0.005883/0.0197, allocations: 2.763 MB / 390.6 MB, free: 6.012 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] 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","",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.380369438789785]