Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001135/0.001135, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002647, 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.00106/0.00106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002372, 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 0.9575/0.9575, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08718/1.045, allocations: 53.87 MB / 243.8 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.2536/0.2536, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0488/0.3024, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.186e-05, allocations: 4.703 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002035/0.002057, allocations: 1.822 MB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003204, allocations: 1.025 MB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.003289, allocations: 0 / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.003501, allocations: 87.64 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.003713, allocations: 119.4 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.003866, allocations: 87.59 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.004018, allocations: 115.7 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.004098, allocations: 8 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.004225, allocations: 99.72 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.004312, allocations: 47.89 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004328, allocations: 11.94 kB / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.004416, allocations: 59.91 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.004459, allocations: 19.94 kB / 297.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.004496, allocations: 15.94 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.004686, allocations: 123.5 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.239e-05/0.004709, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.00471, allocations: 0 / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.00473, allocations: 0 / 297.6 MB, free: 1.441 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005059/0.005236, allocations: 352.9 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.00527, allocations: 8.922 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.005303, allocations: 12.92 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.00546, allocations: 153.6 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.005475, allocations: 384 / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.005496, allocations: 12.3 kB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005603, allocations: 65.77 kB / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005611, allocations: 192 / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.00562, allocations: 4.359 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005625, allocations: 7.875 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.005652, allocations: 11.98 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.005849, allocations: 177.9 kB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.005988, allocations: 101.3 kB / 298.5 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.006008, allocations: 20.97 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.006019, allocations: 0 / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/0.006108, allocations: 62.17 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.006108, allocations: 0 / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003889/0.006497, allocations: 174.2 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.006527, allocations: 59.34 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.006641, allocations: 193.5 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.006654, allocations: 25.7 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.006686, allocations: 100.1 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.006717, allocations: 35.72 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.006747, allocations: 25.72 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.006822, allocations: 326.8 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.006841, allocations: 14.81 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.006864, allocations: 25.7 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.006912, allocations: 58.62 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006914, allocations: 3.938 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.424e-05/0.006988, allocations: 84.42 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.006999, allocations: 4 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007003, allocations: 0 / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.00701, allocations: 4 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.00707, allocations: 31.92 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.007077, allocations: 0 / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.007103, allocations: 3.953 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.007109, allocations: 4 kB / 299.7 MB, free: 15.14 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 (13): * Single equations (assignments): 13 * 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.379e-05/0.007173, allocations: 116.7 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.007189, allocations: 15.92 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.007307, allocations: 99.8 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007309, allocations: 0 / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.007311, allocations: 4 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.007316, allocations: 3.984 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.007544, allocations: 321.2 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007546, allocations: 0 / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.007579, allocations: 23.92 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.007589, allocations: 11.91 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007591, allocations: 0 / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.007599, allocations: 8.062 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007601, allocations: 8 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007603, allocations: 4.703 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.007704, allocations: 228.9 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.00772, allocations: 4 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.007758, allocations: 7.984 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.007785, allocations: 11.98 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.007795, allocations: 4 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.007838, allocations: 61.59 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007838, allocations: 3.938 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000139/0.007977, allocations: 27.94 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001504/0.009482, allocations: 0.7051 MB / 301.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.00958, allocations: 55.64 kB / 301.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.00959, allocations: 0 / 301.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.009624, allocations: 36.78 kB / 301.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.009815, allocations: 47.28 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.01028, allocations: 267.5 kB / 301.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.01032, allocations: 71.33 kB / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.01036, allocations: 20.62 kB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.01042, allocations: 75.36 kB / 301.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01042, allocations: 0 / 301.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003682/0.01411, allocations: 2.338 MB / 304.3 MB, free: 10.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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: 2.821866050362587]