Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001167/0.001167, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001356/0.001356, allocations: 173.7 kB / 24.91 MB, free: 9.176 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.9572/0.9572, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.2427/0.2427, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.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.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.427e-05, allocations: 7.297 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002057/0.002072, allocations: 1.752 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003284, allocations: 1.008 MB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.003333, allocations: 0 / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.003494, allocations: 43.7 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.003695, allocations: 103.5 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.003831, allocations: 83.59 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003935, allocations: 99.64 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.003985, allocations: 21.34 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.004046, allocations: 47.84 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.004096, allocations: 31.89 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.178e-06/0.004105, allocations: 4 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.00416, allocations: 39.94 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.004191, allocations: 27.86 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.004223, allocations: 23.91 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.004337, allocations: 95.66 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004341, allocations: 4 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.004341, allocations: 0 / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.224e-06/0.004343, allocations: 0 / 326.7 MB, free: 6.223 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.0002299/0.004573, allocations: 325.3 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.188e-05/0.004595, allocations: 8.031 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.004614, allocations: 12.92 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004718, allocations: 147.4 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004728, allocations: 8.375 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.004738, allocations: 384 / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.16e-05/0.0048, allocations: 65.77 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004806, allocations: 3.938 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-06/0.004811, allocations: 0 / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-06/0.004813, allocations: 0 / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.004833, allocations: 19.92 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.004966, allocations: 170 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.005032, allocations: 81.3 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.005048, allocations: 12.84 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.005054, allocations: 4 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/0.005113, allocations: 70.09 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.005114, allocations: 0 / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002022/0.005316, allocations: 109.6 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.005339, allocations: 59.34 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.005424, allocations: 180.8 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.005436, allocations: 25.7 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.005464, allocations: 96.11 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.005485, allocations: 31.77 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.005508, allocations: 17.72 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.00558, allocations: 326.8 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.005595, allocations: 14.81 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.005613, allocations: 17.72 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.00565, allocations: 52.52 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005651, allocations: 4 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.012e-05/0.005711, allocations: 76.38 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.005719, allocations: 7.984 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.005721, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.005728, allocations: 4 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.005768, allocations: 15.94 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.005769, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.005789, allocations: 384 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005794, allocations: 7.984 kB / 328.6 MB, free: 4.109 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 4.949e-05/0.005843, allocations: 120.7 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.005854, allocations: 7.938 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.005936, allocations: 83.06 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005937, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.005939, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.005941, allocations: 0 / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.00614, allocations: 299.4 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006141, allocations: 0 / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.00616, allocations: 11.98 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.006161, allocations: 0 / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.006166, allocations: 8.031 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006167, allocations: 0 / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006168, allocations: 0 / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.839e-05/0.006256, allocations: 215 kB / 329.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.006266, allocations: 7.953 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.00628, allocations: 8 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.284e-05/0.006313, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.00633, allocations: 7.984 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.006338, allocations: 8 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.006378, allocations: 47.62 kB / 329.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006378, allocations: 4 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.006531, allocations: 31.88 kB / 329.5 MB, free: 3.191 MB / 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.00119/0.007721, allocations: 0.5854 MB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.007799, allocations: 44.78 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.007802, allocations: 0 / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.007827, allocations: 24.84 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.007972, allocations: 35.91 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.008234, allocations: 219.7 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.008268, allocations: 63.34 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.008299, allocations: 17.41 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.00836, allocations: 71.36 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00836, allocations: 0 / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003118/0.01148, allocations: 2.026 MB / 332.5 MB, free: 400 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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: 2.905915829818696]