Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009988/0.0009988, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.0009956/0.0009956, allocations: 168.9 kB / 24.91 MB, free: 9.203 MB / 18.57 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 0.9544/0.9544, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.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.2757/0.2757, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.401e-05, allocations: 3.188 kB / 325.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002358/0.002382, allocations: 1.759 MB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.003931, allocations: 1.739 MB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.003994, allocations: 0 / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.004241, allocations: 39.77 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.004495, allocations: 103.5 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.004626, allocations: 83.59 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.00476, allocations: 107.6 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.00483, allocations: 11.98 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.004908, allocations: 55.78 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.00501, allocations: 35.89 kB / 329.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.005026, allocations: 4 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.005147, allocations: 103.8 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.005187, allocations: 19.92 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.005219, allocations: 24.41 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.005403, allocations: 167.4 kB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.005404, allocations: 0 / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005405, allocations: 0 / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.005408, allocations: 0 / 329.6 MB, free: 3.305 MB / 298.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.0003596/0.005768, allocations: 329.4 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.005796, allocations: 12.03 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.005828, allocations: 8.922 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005989, allocations: 138.2 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.006006, allocations: 8.297 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.006029, allocations: 8.375 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.006144, allocations: 104.6 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006153, allocations: 0 / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.006161, allocations: 4 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.006165, allocations: 0 / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.006189, allocations: 14.81 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.006363, allocations: 173.8 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.00644, allocations: 85.22 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.006459, allocations: 20.86 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.006467, allocations: 0 / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/0.006538, allocations: 62.22 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.006539, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002667/0.006806, allocations: 109.9 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.006838, allocations: 77.11 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.006942, allocations: 167.5 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.006955, allocations: 25.7 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.006982, allocations: 92.11 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.007007, allocations: 31.73 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.007034, allocations: 25.7 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.0071, allocations: 322.8 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.007114, allocations: 18.77 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.007146, allocations: 56.34 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.007184, allocations: 44.44 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.007185, allocations: 4 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.744e-05/0.007253, allocations: 68.44 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.007264, allocations: 10.34 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007268, allocations: 0 / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.007281, allocations: 3.938 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.007335, allocations: 20.05 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.007339, allocations: 3.938 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.007365, allocations: 4 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.00737, allocations: 0 / 331.6 MB, free: 1.086 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 (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.14e-05/0.007431, allocations: 120.6 kB / 331.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.007443, allocations: 11.98 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.745e-05/0.007541, allocations: 74.39 kB / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007543, allocations: 3.984 kB / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007545, allocations: 0 / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.007549, allocations: 0 / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.007762, allocations: 303.6 kB / 332.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007764, allocations: 0 / 332.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.007787, allocations: 8 kB / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.007789, allocations: 0 / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.007797, allocations: 7.984 kB / 332.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007798, allocations: 80 / 332.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0078, allocations: 3.984 kB / 332.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.007899, allocations: 215 kB / 332.3 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.007912, allocations: 7.953 kB / 332.3 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.007929, allocations: 4 kB / 332.3 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.007967, allocations: 8.016 kB / 332.3 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.007994, allocations: 8 kB / 332.3 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/0.008311, allocations: 7.984 kB / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.008344, allocations: 37.89 kB / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008344, allocations: 0 / 332.4 MB, free: 220 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.008506, allocations: 51.86 kB / 332.4 MB, free: 168 kB / 298.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.001396/0.009902, allocations: 0.7246 MB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.009985, allocations: 32.84 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.009988, allocations: 4 kB / 333.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.01002, allocations: 20.8 kB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.01017, allocations: 39.11 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.01044, allocations: 203.8 kB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.01047, allocations: 67.34 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.01051, allocations: 29.2 kB / 333.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.01059, allocations: 71.36 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01059, allocations: 0 / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.004151/0.01474, allocations: 2.76 MB / 336.4 MB, free: 12.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.0368744381703436]