Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001012/0.001012, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002556, 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.001005/0.001005, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002372, 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 1.082/1.082, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.191, 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.2673/0.2673, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02556/0.2929, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.973e-05, allocations: 3.953 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002159/0.002179, allocations: 1.981 MB / 296.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.00347, allocations: 1.128 MB / 297.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.003546, allocations: 4 kB / 297.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.003862, allocations: 303 kB / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.004153, allocations: 259 kB / 297.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.004352, allocations: 131.5 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.004612, allocations: 263.2 kB / 298.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.004709, allocations: 18.61 kB / 298.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.004937, allocations: 220.1 kB / 298.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.005094, allocations: 147.7 kB / 298.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.005114, allocations: 8 kB / 298.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.005225, allocations: 63.92 kB / 298.7 MB, free: 484 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.005289, allocations: 71.72 kB / 298.8 MB, free: 412 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.005333, allocations: 35.81 kB / 298.8 MB, free: 376 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.005543, allocations: 203.1 kB / 299 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.005554, allocations: 0 / 299 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005554, allocations: 0 / 299 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.005564, allocations: 0 / 299 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005574/0.006121, allocations: 0.5233 MB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.006152, allocations: 12.03 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.006204, allocations: 28.91 kB / 299.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.006414, allocations: 224.1 kB / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.006429, allocations: 4.375 kB / 299.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006455, allocations: 16.31 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006591, allocations: 111.4 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.0066, allocations: 192 / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.006609, allocations: 384 / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.006632, allocations: 7.938 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.006671, allocations: 25.64 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.006955, allocations: 308.8 kB / 300.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.007199, allocations: 190.6 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.007231, allocations: 29.91 kB / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.007242, allocations: 0 / 300.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.00737, allocations: 119 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.007371, allocations: 0 / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005955/0.007966, allocations: 323.9 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.008005, allocations: 81.11 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.008301, allocations: 361 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.008323, allocations: 33.7 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.008372, allocations: 121.5 kB / 301.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.008417, allocations: 71.41 kB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.00846, allocations: 49.62 kB / 301.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.00855, allocations: 354.7 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.008579, allocations: 22.81 kB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.008623, allocations: 55.34 kB / 302 MB, free: 12.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/0.008717, allocations: 107 kB / 302.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00872, allocations: 0 / 302.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001293/0.008849, allocations: 140.5 kB / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008863, allocations: 4 kB / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008868, allocations: 0 / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008881, allocations: 4 kB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.008979, allocations: 55.91 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008984, allocations: 4 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.00903, allocations: 11.89 kB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.009042, allocations: 16.05 kB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.493e-05/0.009137, allocations: 128.5 kB / 302.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.009164, allocations: 27.97 kB / 302.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.009343, allocations: 164.6 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.009346, allocations: 4 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.009348, allocations: 0 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.009352, allocations: 0 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.009898, allocations: 0.5719 MB / 303.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.009901, allocations: 0 / 303.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.009958, allocations: 39.92 kB / 303.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.009981, allocations: 27.77 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009985, allocations: 7.938 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.009997, allocations: 11.98 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.01, allocations: 4 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01, allocations: 0 / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.01018, allocations: 408.8 kB / 303.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01021, allocations: 15.92 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.01028, allocations: 12.06 kB / 303.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01031, allocations: 19.97 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01033, allocations: 8 kB / 303.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.01043, allocations: 167.5 kB / 304 MB, free: 10.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 304 MB, free: 10.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01062, allocations: 51.94 kB / 304 MB, free: 10.85 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00159/0.01221, allocations: 0.7095 MB / 304.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01234, allocations: 100.7 kB / 304.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.01235, allocations: 8 kB / 304.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.01242, allocations: 76.62 kB / 304.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.01281, allocations: 368.5 kB / 305.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.0135, allocations: 0.5238 MB / 305.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.01357, allocations: 112.1 kB / 305.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.01364, allocations: 37.92 kB / 305.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.01375, allocations: 95.3 kB / 306 MB, free: 9.078 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01375, allocations: 0 / 306 MB, free: 9.078 MB / 298.7 MB Notification: Performance of Templates: time 0.005699/0.01945, allocations: 3.724 MB / 309.7 MB, free: 5.426 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.065015245229006]