Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.00109/0.00109, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001749/0.002839, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009774/0.0009774, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002295, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.983/0.983, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08801/1.071, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2505/0.2505, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.024/0.2745, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.303e-05, allocations: 4.422 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002177/0.00219, allocations: 2.358 MB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.00375, allocations: 1.418 MB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003857, allocations: 3.938 kB / 297.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.004186, allocations: 306.7 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.004579, allocations: 354.4 kB / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.004851, allocations: 215.5 kB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.005261, allocations: 0.5646 MB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.005368, allocations: 37.25 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.005727, allocations: 441.9 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.006003, allocations: 231.3 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.006038, allocations: 20 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.006141, allocations: 63.91 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.006236, allocations: 95.59 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.006321, allocations: 79.69 kB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.006601, allocations: 302.7 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.006614, allocations: 0 / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006615, allocations: 0 / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.00663, allocations: 0 / 300.4 MB, free: 14.62 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007806/0.007411, allocations: 0.7765 MB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.007444, allocations: 8.922 kB / 301.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.007511, allocations: 44.89 kB / 301.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.007831, allocations: 333.7 kB / 301.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.007852, allocations: 8.875 kB / 301.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.007879, allocations: 20.31 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.008073, allocations: 182.4 kB / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.008085, allocations: 4.125 kB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.008098, allocations: 8.375 kB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.008105, allocations: 7.938 kB / 301.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.008182, allocations: 66.03 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.00861, allocations: 0.6033 MB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.008886, allocations: 434.4 kB / 302.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.008947, allocations: 60.25 kB / 302.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.008964, allocations: 15.94 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.009154, allocations: 206.1 kB / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.009155, allocations: 0 / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006543/0.00981, allocations: 472.1 kB / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.009883, allocations: 166.2 kB / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.0102, allocations: 0.4891 MB / 304.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01023, allocations: 41.69 kB / 304.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.01029, allocations: 154.2 kB / 304.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.01037, allocations: 134.9 kB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.01044, allocations: 66.16 kB / 304.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01055, allocations: 382.6 kB / 305 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.0106, allocations: 39.81 kB / 305.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.831e-05/0.01068, allocations: 125.5 kB / 305.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.01086, allocations: 210.7 kB / 305.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01086, allocations: 4 kB / 305.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002301/0.01109, allocations: 235.4 kB / 305.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.01111, allocations: 8 kB / 305.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01111, allocations: 0 / 305.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01113, allocations: 4 kB / 305.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.01133, allocations: 99.81 kB / 305.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.01133, allocations: 4 kB / 305.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.01143, allocations: 24.09 kB / 305.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.01145, allocations: 19.98 kB / 305.8 MB, free: 8.859 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001199/0.01157, allocations: 139.2 kB / 305.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.01162, allocations: 55.88 kB / 306 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.01194, allocations: 265.4 kB / 306.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01195, allocations: 4 kB / 306.2 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01195, allocations: 4 kB / 306.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.01196, allocations: 3.984 kB / 306.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/0.01264, allocations: 1.093 MB / 307.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01264, allocations: 0 / 307.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01275, allocations: 71.84 kB / 307.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.01279, allocations: 51.61 kB / 307.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01279, allocations: 4 kB / 307.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.01282, allocations: 15.98 kB / 307.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.01282, allocations: 8.688 kB / 307.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.01283, allocations: 4 kB / 307.5 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.01327, allocations: 0.8495 MB / 308.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.01331, allocations: 19.98 kB / 308.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.01349, allocations: 15.98 kB / 308.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.01355, allocations: 47.88 kB / 308.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.01357, allocations: 16 kB / 308.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.01375, allocations: 243.2 kB / 308.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01375, allocations: 0 / 308.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000326/0.01408, allocations: 99.83 kB / 308.8 MB, free: 5.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001585/0.01566, allocations: 0.6303 MB / 309.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.0159, allocations: 201.6 kB / 309.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.01591, allocations: 8 kB / 309.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01601, allocations: 116.3 kB / 309.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.01659, allocations: 184.7 kB / 309.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.01824, allocations: 0.8588 MB / 310.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01834, allocations: 137.9 kB / 310.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.01849, allocations: 79.39 kB / 311 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.01869, allocations: 147.3 kB / 311.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01869, allocations: 0 / 311.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Templates: time 0.008791/0.02748, allocations: 6.912 MB / 318 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.055207198485732]