Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002745, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009796/0.0009796, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009795/0.001959, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8854/0.8854, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.162/1.047, allocations: 52.48 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1282/0.1282, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02253/0.1507, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 285.9 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.494e-05, allocations: 9.344 kB / 286 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002264/0.002289, allocations: 1.947 MB / 287.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003501, allocations: 0.9972 MB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.003585, allocations: 0 / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.003855, allocations: 163.3 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.004085, allocations: 151.3 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.004425, allocations: 187.3 kB / 289.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.004657, allocations: 231.2 kB / 289.6 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.004741, allocations: 14.47 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.004923, allocations: 188.3 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.005047, allocations: 107.7 kB / 289.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005069, allocations: 8 kB / 289.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005171, allocations: 63.86 kB / 290 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.005228, allocations: 43.8 kB / 290 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.005275, allocations: 31.88 kB / 290.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.005463, allocations: 171.3 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.005474, allocations: 0 / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005475, allocations: 0 / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.005484, allocations: 0 / 290.2 MB, free: 4 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004964/0.005981, allocations: 478.9 kB / 290.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.00601, allocations: 8.031 kB / 290.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.006048, allocations: 16.92 kB / 290.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.006232, allocations: 204.7 kB / 290.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.006255, allocations: 4.375 kB / 290.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.006278, allocations: 8.359 kB / 290.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.006415, allocations: 107.4 kB / 291 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.006428, allocations: 7.938 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.006438, allocations: 4 kB / 291.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.006443, allocations: 0 / 291.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.006484, allocations: 33.58 kB / 291.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.006767, allocations: 296.8 kB / 291.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.006956, allocations: 190.6 kB / 291.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.006986, allocations: 25.91 kB / 291.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.007003, allocations: 11.98 kB / 291.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007126, allocations: 111.2 kB / 291.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.007127, allocations: 8 kB / 291.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005669/0.007694, allocations: 319.2 kB / 292 MB, free: 2.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.007728, allocations: 85.05 kB / 292.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.007886, allocations: 276.7 kB / 292.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.007907, allocations: 37.69 kB / 292.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.007944, allocations: 105.2 kB / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.007993, allocations: 79.36 kB / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.008034, allocations: 41.69 kB / 292.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.008113, allocations: 342.7 kB / 293 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.008142, allocations: 30.81 kB / 293 MB, free: 1.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.008188, allocations: 58.41 kB / 293.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.008274, allocations: 104.9 kB / 293.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008275, allocations: 0 / 293.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001209/0.008396, allocations: 139.4 kB / 293.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008409, allocations: 7.984 kB / 293.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.008413, allocations: 0 / 293.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.008426, allocations: 8.062 kB / 293.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.008515, allocations: 39.98 kB / 293.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.00852, allocations: 4 kB / 293.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.008562, allocations: 15.92 kB / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.00857, allocations: 8.875 kB / 293.4 MB, free: 0.6133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.014e-05/0.00864, allocations: 120.7 kB / 293.5 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.008664, allocations: 27.91 kB / 293.5 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.008823, allocations: 151.3 kB / 293.7 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008825, allocations: 3.984 kB / 293.7 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008827, allocations: 8 kB / 293.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008832, allocations: 4 kB / 293.7 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.009199, allocations: 0.5554 MB / 294.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009201, allocations: 0 / 294.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.009259, allocations: 35.98 kB / 294.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.009281, allocations: 31.73 kB / 294.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.009284, allocations: 4 kB / 294.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009294, allocations: 11.94 kB / 294.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009296, allocations: 4.125 kB / 294.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.009298, allocations: 7.938 kB / 294.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.009477, allocations: 408.6 kB / 294.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.009502, allocations: 11.98 kB / 294.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.009573, allocations: 8 kB / 294.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.009608, allocations: 19.91 kB / 294.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.009625, allocations: 15.98 kB / 294.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.009703, allocations: 111.5 kB / 294.9 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009703, allocations: 0 / 294.9 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.009896, allocations: 47.94 kB / 294.9 MB, free: 14.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001473/0.01137, allocations: 0.7308 MB / 295.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.01152, allocations: 98.12 kB / 295.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.01153, allocations: 7.984 kB / 295.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.0116, allocations: 69.17 kB / 295.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01196, allocations: 367.8 kB / 296.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.01258, allocations: 450.7 kB / 296.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.01264, allocations: 96.25 kB / 296.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.397e-05/0.01273, allocations: 37.92 kB / 296.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01287, allocations: 91.36 kB / 296.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01287, allocations: 0 / 296.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Templates: time 0.008022/0.02089, allocations: 3.63 MB / 300.5 MB, free: 9.703 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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: 2.944155444391072]