Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0007555/0.0007555, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.00203, 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.0006604/0.0006604, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009732/0.001634, 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.9156/0.9156, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1762/1.092, allocations: 52.48 MB / 238.5 MB, free: 7.637 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.1429/0.1429, allocations: 32.81 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02228/0.1651, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.42e-05, allocations: 2.312 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001981/0.001995, allocations: 1.796 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.003592, allocations: 1.633 MB / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.003661, allocations: 0 / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.003843, allocations: 43.64 kB / 289.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.004027, allocations: 55.64 kB / 289.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.004284, allocations: 119.5 kB / 289.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.004451, allocations: 99.64 kB / 289.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.00454, allocations: 8.219 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004655, allocations: 75.77 kB / 289.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.004754, allocations: 31.84 kB / 289.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.004775, allocations: 8 kB / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.004894, allocations: 59.91 kB / 289.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.004934, allocations: 11.94 kB / 289.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.004966, allocations: 12 kB / 289.9 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.005131, allocations: 107.5 kB / 290 MB, free: 4.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.005142, allocations: 4 kB / 290 MB, free: 4.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005142, allocations: 4 kB / 290 MB, free: 4.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.005152, allocations: 0 / 290 MB, free: 4.25 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.0004025/0.005554, allocations: 316 kB / 290.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.005583, allocations: 12.03 kB / 290.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.005617, allocations: 12.92 kB / 290.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.005759, allocations: 129.6 kB / 290.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.005773, allocations: 8.312 kB / 290.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.005792, allocations: 8.375 kB / 290.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005918, allocations: 109.2 kB / 290.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.00593, allocations: 7.922 kB / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005938, allocations: 0 / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005944, allocations: 0 / 290.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.005971, allocations: 18.77 kB / 290.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.006157, allocations: 161.9 kB / 290.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.006242, allocations: 89.22 kB / 290.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.006262, allocations: 12.92 kB / 290.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.006273, allocations: 4 kB / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.197e-05/0.006365, allocations: 70.14 kB / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.006366, allocations: 0 / 290.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002667/0.006632, allocations: 109.6 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.006656, allocations: 55.41 kB / 291.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.006741, allocations: 151.5 kB / 291.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.006754, allocations: 25.7 kB / 291.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.006787, allocations: 103.9 kB / 291.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.006808, allocations: 15.86 kB / 291.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.006842, allocations: 33.69 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.006924, allocations: 318.8 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.00694, allocations: 18.75 kB / 291.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.006974, allocations: 56.27 kB / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.007014, allocations: 40.52 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007015, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.166e-05/0.007087, allocations: 84.42 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.007097, allocations: 4 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007101, allocations: 0 / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.007112, allocations: 0 / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.007171, allocations: 19.98 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007175, allocations: 8 kB / 292 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.0072, allocations: 4 kB / 292 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007205, allocations: 4 kB / 292 MB, free: 2.078 MB / 282.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.837e-05/0.007264, allocations: 112.7 kB / 292.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.00728, allocations: 23.91 kB / 292.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.868e-05/0.007369, allocations: 70.39 kB / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007371, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007372, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007376, allocations: 0 / 292.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.00757, allocations: 299.8 kB / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.007572, allocations: 4 kB / 292.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.007599, allocations: 12 kB / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007609, allocations: 19.78 kB / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007611, allocations: 0 / 292.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.007617, allocations: 4 kB / 292.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007619, allocations: 3.984 kB / 292.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00762, allocations: 0 / 292.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.007711, allocations: 219 kB / 292.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.007727, allocations: 4 kB / 292.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.007763, allocations: 0 / 292.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.007785, allocations: 16.02 kB / 292.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.007795, allocations: 4 kB / 292.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.00783, allocations: 31.66 kB / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00783, allocations: 0 / 292.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.007978, allocations: 31.94 kB / 292.8 MB, free: 1.172 MB / 282.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.001537/0.009515, allocations: 0.6985 MB / 293.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.009628, allocations: 48.77 kB / 293.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.009635, allocations: 4.094 kB / 293.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.009674, allocations: 28.84 kB / 293.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.009897, allocations: 181.5 kB / 293.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.0103, allocations: 210.9 kB / 294 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01034, allocations: 63.34 kB / 294 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.01038, allocations: 17.03 kB / 294 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.01045, allocations: 75.36 kB / 294.1 MB, free: 124 kB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01045, allocations: 0 / 294.1 MB, free: 124 kB / 282.7 MB Notification: Performance of Templates: time 0.003797/0.01425, allocations: 2.328 MB / 296.4 MB, free: 13.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.7660039914771914]