Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.000757/0.000757, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001853, allocations: 445.8 kB / 10.44 MB, free: 252 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.0006444/0.0006444, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008851/0.00153, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 1.05/1.05, allocations: 173.4 MB / 185.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09962/1.15, allocations: 52.5 MB / 238.4 MB, free: 4.367 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.1299/0.1299, allocations: 32.81 MB / 272 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1891/0.319, allocations: 12.54 MB / 284.5 MB, free: 11.89 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.Test55,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.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 285.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.361e-05, allocations: 2.859 kB / 285.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002483/0.002497, allocations: 1.788 MB / 287.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.00442, allocations: 1.623 MB / 289.3 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.004487, allocations: 3.938 kB / 289.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.004674, allocations: 44.77 kB / 289.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.004859, allocations: 62.28 kB / 289.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.005129, allocations: 108.9 kB / 289.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.005285, allocations: 100 kB / 289.7 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.00536, allocations: 4.516 kB / 289.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.005486, allocations: 81.97 kB / 289.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005589, allocations: 35.23 kB / 289.8 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.005607, allocations: 4.781 kB / 289.8 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.005745, allocations: 58.33 kB / 289.8 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.005786, allocations: 20.91 kB / 289.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.005815, allocations: 10.75 kB / 289.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.005996, allocations: 108.8 kB / 290 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.006006, allocations: 0 / 290 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006006, allocations: 0 / 290 MB, free: 7.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.006015, allocations: 0 / 290 MB, free: 7.645 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.0004278/0.006443, allocations: 319.2 kB / 290.3 MB, free: 7.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.006474, allocations: 13.86 kB / 290.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.006508, allocations: 8.938 kB / 290.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.006661, allocations: 139.8 kB / 290.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.006674, allocations: 6.375 kB / 290.5 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.006694, allocations: 6.375 kB / 290.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.006934, allocations: 103.7 kB / 290.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006944, allocations: 3.938 kB / 290.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.006951, allocations: 0 / 290.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.006955, allocations: 0 / 290.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.006983, allocations: 20.47 kB / 290.6 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.007176, allocations: 167.5 kB / 290.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/0.007271, allocations: 85.78 kB / 290.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.007295, allocations: 18.42 kB / 290.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.007305, allocations: 1.375 kB / 290.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.007399, allocations: 69.08 kB / 290.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.0074, allocations: 0 / 290.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.007688, allocations: 109.8 kB / 291 MB, free: 6.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.007715, allocations: 57.5 kB / 291.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007821, allocations: 153.2 kB / 291.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.007836, allocations: 26.98 kB / 291.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.00787, allocations: 89.27 kB / 291.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.007898, allocations: 31.64 kB / 291.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.007935, allocations: 24.69 kB / 291.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.008012, allocations: 325.8 kB / 291.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.008031, allocations: 8.672 kB / 291.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.008071, allocations: 58.86 kB / 291.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.008126, allocations: 44.95 kB / 291.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.008127, allocations: 0 / 291.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.009e-05/0.008217, allocations: 70.66 kB / 291.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.00823, allocations: 5.281 kB / 291.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008234, allocations: 4.719 kB / 291.9 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.008247, allocations: 13.11 kB / 291.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.008314, allocations: 15.03 kB / 291.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.008317, allocations: 1.281 kB / 291.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.00835, allocations: 1.531 kB / 291.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.008358, allocations: 10.48 kB / 291.9 MB, free: 5.797 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 6.233e-05/0.00842, allocations: 114.9 kB / 292.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.008437, allocations: 8.906 kB / 292.1 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.008541, allocations: 77.78 kB / 292.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.008543, allocations: 2.062 kB / 292.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008545, allocations: 4 kB / 292.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008548, allocations: 0 / 292.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.008775, allocations: 293.3 kB / 292.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008777, allocations: 0 / 292.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.008812, allocations: 14.08 kB / 292.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.008825, allocations: 15.12 kB / 292.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008828, allocations: 1.031 kB / 292.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008834, allocations: 2.094 kB / 292.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008836, allocations: 1.312 kB / 292.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008838, allocations: 3.938 kB / 292.5 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.008952, allocations: 216.4 kB / 292.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.008972, allocations: 5.422 kB / 292.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.009029, allocations: 1.812 kB / 292.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.009056, allocations: 12.36 kB / 292.7 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.009067, allocations: 5.438 kB / 292.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.009111, allocations: 36.03 kB / 292.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009112, allocations: 0 / 292.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.009333, allocations: 38.8 kB / 292.8 MB, free: 5.07 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.001819/0.01115, allocations: 0.7042 MB / 293.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01126, allocations: 46.77 kB / 293.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.01127, allocations: 2.906 kB / 293.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.01131, allocations: 25.92 kB / 293.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01157, allocations: 184.8 kB / 293.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.012, allocations: 205.9 kB / 293.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01205, allocations: 63.78 kB / 294 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.01211, allocations: 26.55 kB / 294 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.01219, allocations: 70.61 kB / 294.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01219, allocations: 1.375 kB / 294.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of Templates: time 0.004648/0.01684, allocations: 2.32 MB / 296.4 MB, free: 2.703 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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: 3.029576907865703]