Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001131/0.001131, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002014/0.003145, 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.001323/0.001323, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001909/0.003232, 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.9873/0.9873, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.092, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.3012/0.3012, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02615/0.3274, allocations: 13.24 MB / 292.8 MB, free: 6.387 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.081e-05, allocations: 3.516 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002698/0.002719, allocations: 2.307 MB / 296.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.004452, allocations: 1.337 MB / 297.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004583, allocations: 7.938 kB / 297.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.00485, allocations: 119.2 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.005274, allocations: 266.6 kB / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.005635, allocations: 191.4 kB / 298.4 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.00615, allocations: 466.5 kB / 298.9 MB, free: 296 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.006263, allocations: 41.25 kB / 298.9 MB, free: 248 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.006694, allocations: 436.2 kB / 299.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.00684, allocations: 131.6 kB / 299.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.006871, allocations: 20 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.006993, allocations: 75.86 kB / 299.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.007089, allocations: 115.6 kB / 299.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.007159, allocations: 75.62 kB / 299.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.007465, allocations: 326.5 kB / 300.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.007476, allocations: 0 / 300.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007478, allocations: 4 kB / 300.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.007488, allocations: 0 / 300.1 MB, free: 15.08 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007653/0.008253, allocations: 0.8106 MB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.008288, allocations: 16.91 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.008356, allocations: 44.89 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.008649, allocations: 326.5 kB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.008674, allocations: 16.36 kB / 301.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.008703, allocations: 12.38 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.00891, allocations: 189 kB / 301.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.008925, allocations: 8.141 kB / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.008935, allocations: 384 / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.008944, allocations: 7.938 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.009016, allocations: 67.19 kB / 301.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.009532, allocations: 0.5339 MB / 302.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.009883, allocations: 373.3 kB / 302.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.009941, allocations: 55.67 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.009959, allocations: 7.984 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.01013, allocations: 171.1 kB / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.202e-06/0.01013, allocations: 0 / 302.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.000943/0.01108, allocations: 0.6311 MB / 303.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.01114, allocations: 144.4 kB / 303.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.01168, allocations: 0.5563 MB / 304 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.01172, allocations: 41.69 kB / 304.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.01179, allocations: 162.2 kB / 304.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.01189, allocations: 142.8 kB / 304.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.01197, allocations: 74.12 kB / 304.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01207, allocations: 374.6 kB / 304.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.01213, allocations: 51.8 kB / 304.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.01223, allocations: 119.7 kB / 305 MB, free: 9.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.0124, allocations: 206.8 kB / 305.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.0124, allocations: 0 / 305.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002824/0.01269, allocations: 254.2 kB / 305.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01271, allocations: 4 kB / 305.4 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.01272, allocations: 4 kB / 305.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01273, allocations: 4 kB / 305.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01292, allocations: 103.8 kB / 305.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01292, allocations: 4 kB / 305.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.01301, allocations: 12 kB / 305.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01303, allocations: 15.98 kB / 305.6 MB, free: 9.277 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001317/0.01316, allocations: 147 kB / 305.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.01322, allocations: 63.88 kB / 305.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.01353, allocations: 285.1 kB / 306 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01353, allocations: 8 kB / 306 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01353, allocations: 0 / 306 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01354, allocations: 0 / 306 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.01424, allocations: 1.057 MB / 307.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01424, allocations: 4 kB / 307.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.01435, allocations: 75.91 kB / 307.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.01444, allocations: 79.48 kB / 307.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.01445, allocations: 7.938 kB / 307.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01446, allocations: 19.98 kB / 307.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01447, allocations: 7.938 kB / 307.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01447, allocations: 4 kB / 307.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.01486, allocations: 0.7593 MB / 308.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.01491, allocations: 20.03 kB / 308.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.01505, allocations: 19.92 kB / 308.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.01511, allocations: 43.88 kB / 308.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.01514, allocations: 19.98 kB / 308.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.01534, allocations: 291.4 kB / 308.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01534, allocations: 0 / 308.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.01566, allocations: 91.92 kB / 308.5 MB, free: 6.188 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001812/0.01748, allocations: 0.7249 MB / 309.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.01778, allocations: 200.9 kB / 309.5 MB, free: 5.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.252e-05/0.0178, allocations: 12 kB / 309.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.01797, allocations: 142.4 kB / 309.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.01884, allocations: 0.7163 MB / 310.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.02021, allocations: 0.9347 MB / 311.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02032, allocations: 142.2 kB / 311.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.02046, allocations: 75.25 kB / 311.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.02064, allocations: 135.3 kB / 311.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02064, allocations: 4 kB / 311.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Templates: time 0.009732/0.03037, allocations: 6.389 MB / 318 MB, free: 12.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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: 3.2429304849356413]