Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.00117/0.00117, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002868, 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.0007252/0.0007252, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001734, 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 1.083/1.083, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.198, allocations: 53.87 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.2856/0.2856, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02583/0.3114, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.201e-05, allocations: 5.906 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002667/0.002689, allocations: 1.807 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.007182, allocations: 1.021 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.007274, allocations: 3.938 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.007487, allocations: 35.78 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.007761, allocations: 91.53 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.007986, allocations: 83.59 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.008159, allocations: 107.6 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.00824, allocations: 11.98 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.008385, allocations: 79.81 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.008463, allocations: 23.91 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.008479, allocations: 4 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.008577, allocations: 47.92 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.00862, allocations: 11.94 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.008659, allocations: 15.94 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.008838, allocations: 103.5 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.008854, allocations: 4 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.008858, allocations: 4 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.008873, allocations: 0 / 297.4 MB, free: 1.637 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.003454/0.01233, allocations: 333 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.01237, allocations: 8.922 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.01241, allocations: 12.92 kB / 297.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.01259, allocations: 142.3 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.01261, allocations: 8.375 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.01262, allocations: 4.312 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.01274, allocations: 65.75 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01275, allocations: 8.188 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.01276, allocations: 384 / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.01276, allocations: 7.875 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.01279, allocations: 8 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.01301, allocations: 165.9 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.01311, allocations: 89.3 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.01314, allocations: 8.859 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.01315, allocations: 4 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.01327, allocations: 74.19 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01327, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003114/0.01358, allocations: 105.4 kB / 298.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.01361, allocations: 63.39 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.01374, allocations: 173.3 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.01375, allocations: 29.7 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.01379, allocations: 100.1 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.01382, allocations: 23.84 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.01386, allocations: 21.7 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01396, allocations: 326.8 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.01399, allocations: 14.83 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.01402, allocations: 26.58 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.01407, allocations: 40.59 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01407, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.01418, allocations: 72.42 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01419, allocations: 7.938 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01419, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.0142, allocations: 4 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.01428, allocations: 15.98 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01429, allocations: 8.031 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.01432, allocations: 7.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.01432, allocations: 0 / 299.3 MB, free: 15.52 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 6.795e-05/0.01439, allocations: 124.5 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.01441, allocations: 15.92 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.01452, allocations: 71.69 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01452, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01452, allocations: 3.938 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01453, allocations: 4 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.01476, allocations: 291.5 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01477, allocations: 8.25 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.0148, allocations: 15.94 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.01482, allocations: 11.94 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01482, allocations: 0 / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.01483, allocations: 8 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01483, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01483, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.01495, allocations: 222.7 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01496, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.01502, allocations: 7.984 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.01505, allocations: 12.02 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01506, allocations: 4 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003056/0.01812, allocations: 51.62 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01812, allocations: 0 / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.01833, allocations: 24 kB / 300.2 MB, free: 14.59 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.001612/0.01994, allocations: 0.6084 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.02005, allocations: 40.77 kB / 300.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.02006, allocations: 4 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.0201, allocations: 36.7 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.02033, allocations: 43.89 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.02082, allocations: 224.2 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.02087, allocations: 67.33 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.02091, allocations: 12.98 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.02099, allocations: 67.36 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02099, allocations: 0 / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01025/0.03124, allocations: 2.049 MB / 303.3 MB, free: 11.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.1040135053917766]