Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001345/0.001345, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001567/0.001567, allocations: 165 kB / 24.91 MB, free: 9.18 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.9719/0.9719, allocations: 177 MB / 205.2 MB, free: 5.469 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.2924/0.2924, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.228e-06/1.028e-05, allocations: 4.141 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001828/0.001839, allocations: 1.771 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002938, allocations: 0.9978 MB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002988, allocations: 4 kB / 328.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.003179, allocations: 43.7 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.003406, allocations: 99.47 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.003547, allocations: 83.59 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.003662, allocations: 104.4 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.003722, allocations: 11.97 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.0038, allocations: 59.77 kB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.003861, allocations: 23.92 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.003872, allocations: 8 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.003941, allocations: 47.91 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.003986, allocations: 23.92 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.004013, allocations: 19.88 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.004137, allocations: 95.64 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.004138, allocations: 0 / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004139, allocations: 0 / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.004142, allocations: 0 / 329.4 MB, free: 3.695 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.000273/0.004415, allocations: 325.5 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.288e-05/0.004437, allocations: 8.031 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.00446, allocations: 12.92 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.004575, allocations: 150.3 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.004585, allocations: 384 / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.004599, allocations: 4.375 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.004672, allocations: 65.75 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-06/0.004677, allocations: 192 / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.004684, allocations: 12.3 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.004688, allocations: 3.938 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.004708, allocations: 7.938 kB / 330 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.004861, allocations: 165.9 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.004935, allocations: 89.36 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.004951, allocations: 8.859 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.00496, allocations: 4 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.005024, allocations: 70.12 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.005025, allocations: 0 / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.00024/0.005265, allocations: 113.5 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.005295, allocations: 59.39 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.005395, allocations: 177.3 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.005407, allocations: 25.7 kB / 330.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.005435, allocations: 100.1 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.005457, allocations: 27.78 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.005482, allocations: 25.7 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.005569, allocations: 326.8 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.005582, allocations: 10.83 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.005604, allocations: 25.27 kB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.005647, allocations: 48.45 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005648, allocations: 0 / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.021e-05/0.005708, allocations: 68.91 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.005717, allocations: 7.938 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.00572, allocations: 3.938 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.005727, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.005778, allocations: 23.98 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/0.00578, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.005802, allocations: 0 / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.005807, allocations: 4 kB / 331.3 MB, free: 1.582 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.323e-05/0.00586, allocations: 119.3 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.005872, allocations: 11.92 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.005955, allocations: 79.08 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005958, allocations: 7.984 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.005959, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005961, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.006161, allocations: 287.4 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.006163, allocations: 11.88 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.006183, allocations: 8 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.006183, allocations: 0 / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.00619, allocations: 7.984 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006192, allocations: 4.234 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006193, allocations: 7.969 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.006291, allocations: 207.1 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.006302, allocations: 11.89 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.006315, allocations: 4 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.006352, allocations: 7.984 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.006378, allocations: 7.938 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.006387, allocations: 3.984 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.006427, allocations: 51.64 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006427, allocations: 0 / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.006569, allocations: 31.92 kB / 332.2 MB, free: 0.6562 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.001067/0.007635, allocations: 0.5582 MB / 332.7 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.007703, allocations: 36.78 kB / 332.8 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.007707, allocations: 4 kB / 332.8 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.007738, allocations: 24.91 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.007886, allocations: 31.92 kB / 332.8 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.008135, allocations: 216 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.008178, allocations: 71.33 kB / 333.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.00821, allocations: 17.27 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.008267, allocations: 67.36 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008268, allocations: 4.062 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003055/0.01132, allocations: 2.021 MB / 335.2 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.9587432499974966]