Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002065, allocations: 449.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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007673/0.0007673, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.001923, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0957/1.113, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02256/0.2613, allocations: 13.11 MB / 291.5 MB, free: 7.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.465e-05, allocations: 4.312 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002841/0.002856, allocations: 1.776 MB / 294.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.004559, allocations: 0.9999 MB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.004628, allocations: 4 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.004848, allocations: 51.7 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.005103, allocations: 103.4 kB / 295.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.00528, allocations: 79.55 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.005457, allocations: 103.6 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.005497, allocations: 4.234 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.005657, allocations: 75.83 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.005744, allocations: 31.89 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.005761, allocations: 4 kB / 296.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.00585, allocations: 31.88 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.005908, allocations: 31.86 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.005943, allocations: 15.94 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.006127, allocations: 95.61 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.006141, allocations: 0 / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006141, allocations: 0 / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.006153, allocations: 0 / 296.3 MB, free: 2.695 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004756/0.006628, allocations: 352.9 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.006663, allocations: 12.03 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.006705, allocations: 12.92 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006911, allocations: 166.4 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.006928, allocations: 384 / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.006942, allocations: 384 / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007063, allocations: 65.75 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007072, allocations: 3.938 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.007079, allocations: 0 / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.007086, allocations: 7.938 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.874e-05/0.007115, allocations: 7.984 kB / 296.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.00734, allocations: 66.7 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.00744, allocations: 45.38 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.007465, allocations: 12.84 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.007478, allocations: 0 / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.007589, allocations: 62.22 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.00759, allocations: 0 / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001432/0.007734, allocations: 61.61 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.007764, allocations: 55.34 kB / 297.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.007931, allocations: 209.3 kB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.007949, allocations: 25.7 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.007986, allocations: 104.1 kB / 297.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.008024, allocations: 27.81 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.008058, allocations: 13.72 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00816, allocations: 330.8 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.008181, allocations: 6.828 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.00821, allocations: 21.7 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.008265, allocations: 43.53 kB / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008267, allocations: 0 / 298 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.378e-05/0.008361, allocations: 60.5 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.008376, allocations: 9.562 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.00838, allocations: 0 / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.008394, allocations: 0 / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.008474, allocations: 19.88 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.008478, allocations: 4 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.008518, allocations: 0 / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.008528, allocations: 4 kB / 298.1 MB, free: 0.7383 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 (7): * Single equations (assignments): 7 * 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 8.395e-05/0.008612, allocations: 112.7 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.008633, allocations: 15.98 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.008756, allocations: 66.86 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008758, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.008762, allocations: 3.938 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008766, allocations: 3.938 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.008867, allocations: 85.86 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.008868, allocations: 0 / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.008905, allocations: 15.92 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.008923, allocations: 11.91 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008926, allocations: 0 / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.008934, allocations: 4 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008936, allocations: 0 / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.008938, allocations: 7.938 kB / 298.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.009045, allocations: 82.95 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.009066, allocations: 4 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.009105, allocations: 8 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.009131, allocations: 3.984 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.009144, allocations: 4 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.009229, allocations: 83.61 kB / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.009229, allocations: 0 / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.009416, allocations: 23.94 kB / 298.6 MB, free: 152 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001538/0.01095, allocations: 0.5602 MB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.01104, allocations: 28.84 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.01105, allocations: 4 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.01108, allocations: 16.8 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.01125, allocations: 176.5 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.01168, allocations: 235.2 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.01171, allocations: 83.27 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.728e-05/0.01174, allocations: 8.484 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.0118, allocations: 67.36 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0118, allocations: 0 / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002897/0.01469, allocations: 1.829 MB / 301.6 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.865713789127767]