Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001174/0.001174, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002833, 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.0008575/0.0008575, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009272/0.001785, 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.9422/0.9422, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1123/1.055, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.27/0.27, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03067/0.3006, allocations: 13.24 MB / 292.8 MB, free: 6.355 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.153e-05, allocations: 7.406 kB / 294.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004059/0.00409, allocations: 2.294 MB / 296.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.006622, allocations: 1.343 MB / 297.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.006876, allocations: 7.938 kB / 297.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.00728, allocations: 135.2 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.007964, allocations: 278.6 kB / 298.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.008495, allocations: 195.4 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.009157, allocations: 462.6 kB / 298.9 MB, free: 244 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.009302, allocations: 45.19 kB / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.01001, allocations: 460.2 kB / 299.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.01026, allocations: 147.5 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.01031, allocations: 16 kB / 299.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.01053, allocations: 75.86 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01068, allocations: 143.4 kB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.01078, allocations: 79.62 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.01128, allocations: 362.3 kB / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.0113, allocations: 3.984 kB / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0113, allocations: 0 / 300.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.01132, allocations: 0 / 300.2 MB, free: 14.93 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.001141/0.01246, allocations: 0.8842 MB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0125, allocations: 11.44 kB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.01261, allocations: 52.88 kB / 301.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.01308, allocations: 358.2 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.01311, allocations: 16.36 kB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.01315, allocations: 20.36 kB / 301.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.01343, allocations: 173 kB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.01344, allocations: 4.188 kB / 301.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.01346, allocations: 4.375 kB / 301.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01347, allocations: 7.938 kB / 301.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.01357, allocations: 71.17 kB / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.01432, allocations: 0.5455 MB / 302.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.01483, allocations: 377.4 kB / 302.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.01491, allocations: 55.53 kB / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01493, allocations: 4 kB / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.01521, allocations: 179.1 kB / 302.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 2.205e-06/0.01521, allocations: 0 / 302.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001501/0.01671, allocations: 0.6311 MB / 303.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.01679, allocations: 144.5 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.01741, allocations: 0.6384 MB / 304.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.01746, allocations: 37.7 kB / 304.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01757, allocations: 170.9 kB / 304.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.01772, allocations: 150.8 kB / 304.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01782, allocations: 78.11 kB / 304.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01793, allocations: 325.9 kB / 305.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.01801, allocations: 51.73 kB / 305.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01813, allocations: 107.8 kB / 305.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.01838, allocations: 211.2 kB / 305.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01838, allocations: 0 / 305.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003686/0.01875, allocations: 253.4 kB / 305.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.01878, allocations: 4 kB / 305.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01879, allocations: 4 kB / 305.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.01881, allocations: 4 kB / 305.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.01907, allocations: 99.88 kB / 305.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01908, allocations: 7.938 kB / 305.8 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01922, allocations: 15.94 kB / 305.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.01924, allocations: 15.98 kB / 305.9 MB, free: 8.957 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.0001708/0.01941, allocations: 147.2 kB / 306 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.0195, allocations: 63.88 kB / 306.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.01996, allocations: 306.6 kB / 306.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.01997, allocations: 4 kB / 306.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01997, allocations: 4 kB / 306.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.01998, allocations: 3.984 kB / 306.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.02092, allocations: 1.056 MB / 307.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02093, allocations: 0 / 307.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.02104, allocations: 75.91 kB / 307.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.02117, allocations: 91.44 kB / 307.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.02118, allocations: 11.94 kB / 307.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.02121, allocations: 19.98 kB / 307.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.02122, allocations: 4 kB / 307.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.02122, allocations: 4 kB / 307.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.02176, allocations: 0.7673 MB / 308.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.02181, allocations: 23.92 kB / 308.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.02196, allocations: 19.92 kB / 308.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.02202, allocations: 39.94 kB / 308.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.02205, allocations: 19.98 kB / 308.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.0223, allocations: 351.4 kB / 308.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0223, allocations: 0 / 308.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.02266, allocations: 87.94 kB / 308.9 MB, free: 5.773 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.001779/0.02444, allocations: 0.7212 MB / 309.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.02472, allocations: 208.9 kB / 309.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/0.02474, allocations: 8 kB / 309.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.02487, allocations: 142.7 kB / 310 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/0.02563, allocations: 0.7163 MB / 310.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.0272, allocations: 1.02 MB / 311.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.02733, allocations: 154.2 kB / 311.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.02751, allocations: 79.23 kB / 312 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.02771, allocations: 139.3 kB / 312.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.02771, allocations: 4 kB / 312.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of Templates: time 0.01013/0.03784, allocations: 6.426 MB / 318.5 MB, free: 12.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.137609033845365]