Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009528/0.0009528, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002291, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009073/0.0009073, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002142, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.93/0.93, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09849/1.028, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2551/0.2551, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02576/0.2808, allocations: 13.23 MB / 292.8 MB, free: 6.402 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.692e-05, allocations: 4.984 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002067/0.002084, allocations: 1.832 MB / 296 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.00329, allocations: 1.029 MB / 297.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.003364, allocations: 3.938 kB / 297.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.003576, allocations: 103.6 kB / 297.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.003803, allocations: 131.3 kB / 297.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.003973, allocations: 91.55 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.00414, allocations: 135.5 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.004217, allocations: 7.984 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004345, allocations: 99.78 kB / 297.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.00444, allocations: 63.86 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004455, allocations: 4 kB / 297.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.004548, allocations: 59.86 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.004593, allocations: 27.92 kB / 297.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.004625, allocations: 23.88 kB / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004791, allocations: 131.5 kB / 297.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.004803, allocations: 8 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004804, allocations: 0 / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.004813, allocations: 0 / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004386/0.005252, allocations: 376.7 kB / 298.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005283, allocations: 12.92 kB / 298.3 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.005318, allocations: 12.92 kB / 298.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.005471, allocations: 154.5 kB / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.005487, allocations: 8.375 kB / 298.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.005509, allocations: 4.312 kB / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.00562, allocations: 73.75 kB / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005628, allocations: 8.125 kB / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005635, allocations: 384 / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005641, allocations: 3.938 kB / 298.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.005673, allocations: 15.98 kB / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.005888, allocations: 185.8 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.00603, allocations: 93.3 kB / 298.9 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.00605, allocations: 12.86 kB / 298.9 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.006061, allocations: 4 kB / 298.9 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.207e-05/0.006153, allocations: 74.38 kB / 298.9 MB, free: 128 kB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.006154, allocations: 7.984 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004339/0.006588, allocations: 198.6 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.006615, allocations: 51.41 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.006732, allocations: 217.8 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.006747, allocations: 25.7 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.006784, allocations: 100.1 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.006815, allocations: 39.67 kB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.006853, allocations: 29.7 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.00693, allocations: 334.8 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.006948, allocations: 14.83 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.006976, allocations: 31.58 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.007029, allocations: 64.95 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.00703, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.338e-05/0.007113, allocations: 92.36 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007126, allocations: 6.5 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007129, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007142, allocations: 4 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.007203, allocations: 23.98 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.007206, allocations: 4.031 kB / 300.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.007232, allocations: 4 kB / 300.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007237, allocations: 0 / 300.2 MB, free: 14.83 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 (14): * Single equations (assignments): 14 * 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 6.38e-05/0.007301, allocations: 124.6 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.007317, allocations: 19.92 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.007431, allocations: 95.11 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.007434, allocations: 4 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007435, allocations: 0 / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007438, allocations: 3.938 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.007689, allocations: 352.8 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.007691, allocations: 4 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.00773, allocations: 19.94 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.007746, allocations: 19.89 kB / 300.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007748, allocations: 0 / 300.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.00776, allocations: 4 kB / 300.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007761, allocations: 4 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007762, allocations: 0 / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.007883, allocations: 244.7 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.0079, allocations: 3.984 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.007942, allocations: 12.06 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.007971, allocations: 7.984 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.007983, allocations: 4 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.00804, allocations: 73.91 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00804, allocations: 0 / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.008194, allocations: 35.94 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001435/0.009628, allocations: 0.7182 MB / 301.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.009738, allocations: 60.41 kB / 302 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.009746, allocations: 4 kB / 302 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.009794, allocations: 48.75 kB / 302 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01002, allocations: 180.4 kB / 302.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.01049, allocations: 305 kB / 302.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01054, allocations: 75.83 kB / 302.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.01058, allocations: 25.41 kB / 302.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.01065, allocations: 71.36 kB / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01065, allocations: 0 / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003696/0.01435, allocations: 2.489 MB / 305.1 MB, free: 10.1 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.956082505173981]