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.0009409/0.0009409, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001983, allocations: 449.7 kB / 10.37 MB, free: 320 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.0007381/0.0007381, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009335/0.001672, allocations: 463.6 kB / 11.72 MB, free: 2.449 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.981/0.981, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/1.11, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2862/0.2862, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02447/0.3107, allocations: 13.23 MB / 292.6 MB, free: 6.449 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.643e-06/1.643e-06, allocations: 0 / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.38e-05, allocations: 4.422 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002459/0.002483, allocations: 1.814 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.004373, allocations: 1.758 MB / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.004448, allocations: 0 / 297.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.004634, allocations: 31.78 kB / 297.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.004855, allocations: 107.3 kB / 297.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.004995, allocations: 75.66 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.005137, allocations: 119.6 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.005213, allocations: 8 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.005336, allocations: 79.81 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005448, allocations: 31.89 kB / 298 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.005469, allocations: 8 kB / 298 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.005632, allocations: 107.8 kB / 298.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.005675, allocations: 19.92 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.005703, allocations: 15.94 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.005908, allocations: 147.5 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.005923, allocations: 0 / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005925, allocations: 0 / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.00594, allocations: 7.938 kB / 298.3 MB, free: 0.7461 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.000444/0.006384, allocations: 345 kB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.006413, allocations: 12.92 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.006447, allocations: 8.922 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.006594, allocations: 142.2 kB / 298.8 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006609, allocations: 8.359 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.006624, allocations: 384 / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.006752, allocations: 105.1 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.00676, allocations: 3.938 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.006768, allocations: 4 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.006773, allocations: 7.938 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.006804, allocations: 14.81 kB / 298.9 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.006999, allocations: 170 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.007081, allocations: 85.3 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.007098, allocations: 8.859 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.007107, allocations: 0 / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.971e-05/0.007197, allocations: 74.05 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007198, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002656/0.007463, allocations: 117.6 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.007489, allocations: 55.41 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.00758, allocations: 160.3 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007592, allocations: 25.7 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.00762, allocations: 92.11 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.007642, allocations: 27.75 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.007674, allocations: 29.69 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.007749, allocations: 322.8 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.007763, allocations: 6.828 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.007795, allocations: 57.2 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.007833, allocations: 52.55 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007834, allocations: 0 / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.869e-05/0.007902, allocations: 76.38 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.007913, allocations: 4 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007916, allocations: 0 / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.007923, allocations: 0 / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.007982, allocations: 19.98 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007985, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.008012, allocations: 4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.008016, allocations: 4.031 kB / 300.3 MB, free: 14.54 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.729e-05/0.008073, allocations: 120.7 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.008087, allocations: 19.86 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.008176, allocations: 75 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.008178, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008179, allocations: 0 / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008183, allocations: 3.984 kB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.008375, allocations: 287.8 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008376, allocations: 0 / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.008404, allocations: 31.91 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.008416, allocations: 7.938 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008417, allocations: 4 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.008423, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008424, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.008426, allocations: 4 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.825e-05/0.008524, allocations: 222.6 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.00854, allocations: 3.984 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.008578, allocations: 4 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.008602, allocations: 7.984 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.008613, allocations: 4 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.008654, allocations: 44.88 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008654, allocations: 0 / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008826, allocations: 55.8 kB / 301.1 MB, free: 13.6 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.001747/0.01057, allocations: 0.7526 MB / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.01068, allocations: 40.78 kB / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.01069, allocations: 3.938 kB / 301.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.01072, allocations: 28.78 kB / 302 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.01091, allocations: 52.59 kB / 302 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01135, allocations: 200 kB / 302.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.01139, allocations: 67.33 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.01144, allocations: 25.39 kB / 302.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.01151, allocations: 75.34 kB / 302.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01151, allocations: 0 / 302.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of Templates: time 0.004039/0.01555, allocations: 2.801 MB / 305.2 MB, free: 9.922 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0640776930376887]