Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001059/0.001059, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001987/0.003046, 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.001064/0.001064, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002526, 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.9697/0.9697, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.078, allocations: 53.88 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.2949/0.2949, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02687/0.3218, 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.406e-05, allocations: 3.438 kB / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002318/0.002332, allocations: 1.823 MB / 296 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007988/0.01032, allocations: 1.773 MB / 297.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.01039, allocations: 4 kB / 297.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.01054, allocations: 31.72 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.01078, allocations: 103.3 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.01095, allocations: 91.55 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.0111, allocations: 107.6 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.01115, allocations: 11.94 kB / 298.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.01127, allocations: 75.86 kB / 298.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.01137, allocations: 39.84 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.01138, allocations: 4 kB / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.01158, allocations: 111.8 kB / 298.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.01162, allocations: 15.92 kB / 298.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.01165, allocations: 15.94 kB / 298.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.01189, allocations: 147.5 kB / 298.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.0119, allocations: 4 kB / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.0119, allocations: 0 / 298.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01191, allocations: 0 / 298.5 MB, free: 0.6523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003414/0.01532, allocations: 352.9 kB / 298.9 MB, free: 292 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.599e-05/0.01535, allocations: 8.922 kB / 298.9 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.01539, allocations: 16.92 kB / 298.9 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.01554, allocations: 146.2 kB / 299 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.01555, allocations: 4.359 kB / 299 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.01556, allocations: 4.375 kB / 299 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.01569, allocations: 105.2 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.0157, allocations: 7.938 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.0157, allocations: 0 / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.01571, allocations: 0 / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.01573, allocations: 14.81 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.0159, allocations: 165.9 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.01598, allocations: 89.3 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.016, allocations: 12.86 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.01601, allocations: 0 / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/0.01609, allocations: 74.05 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.01609, allocations: 4 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.01636, allocations: 113.6 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.01638, allocations: 51.41 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.01649, allocations: 160.3 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.0165, allocations: 29.7 kB / 299.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.01653, allocations: 92.11 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.01656, allocations: 27.75 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.0166, allocations: 29.69 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.01667, allocations: 318.8 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.01669, allocations: 10.83 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.01673, allocations: 68.19 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/0.01677, allocations: 32.53 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01677, allocations: 4 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.314e-05/0.01686, allocations: 72.44 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01687, allocations: 10.5 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.01687, allocations: 0 / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.01688, allocations: 384 / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.01694, allocations: 19.98 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.01694, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.01698, allocations: 16.06 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.01698, allocations: 0 / 300.5 MB, free: 14.43 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 (10): * Single equations (assignments): 10 * 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 5.921e-05/0.01704, allocations: 124.6 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.01706, allocations: 15.92 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.01717, allocations: 75.59 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01717, allocations: 0 / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01717, allocations: 0 / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01718, allocations: 0 / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.01744, allocations: 291.4 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01744, allocations: 4.031 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.01748, allocations: 11.98 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.0175, allocations: 11.95 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.0175, allocations: 4 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01751, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01751, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01751, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.01765, allocations: 222.9 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.01767, allocations: 8 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.01775, allocations: 4 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.01777, allocations: 7.969 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.01779, allocations: 8 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.01785, allocations: 49.06 kB / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01785, allocations: 0 / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001975/0.01982, allocations: 43.81 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002122/0.02195, allocations: 0.7635 MB / 302.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.02206, allocations: 52.7 kB / 302.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.02207, allocations: 0 / 302.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.02212, allocations: 28.84 kB / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.02242, allocations: 188.6 kB / 302.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.02289, allocations: 204.1 kB / 302.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.02294, allocations: 67.34 kB / 302.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.237e-05/0.023, allocations: 21.42 kB / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.0231, allocations: 79.34 kB / 302.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0231, allocations: 0 / 302.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of Templates: time 0.005233/0.02834, allocations: 2.811 MB / 305.6 MB, free: 9.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.1213193610310555]