Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001376/0.001376, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001845/0.001845, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9891/0.9891, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2937/0.2937, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.133e-05, allocations: 3.891 kB / 325.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002282/0.002303, allocations: 1.761 MB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003521, allocations: 1.01 MB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.003592, allocations: 3.938 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.003833, allocations: 39.77 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.004099, allocations: 91.55 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.004277, allocations: 87.59 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.004417, allocations: 116 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.004482, allocations: 4 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.004563, allocations: 55.83 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.004625, allocations: 27.91 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.004638, allocations: 4 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.004714, allocations: 43.92 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.004762, allocations: 27.91 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.004796, allocations: 15.94 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004958, allocations: 107.5 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004961, allocations: 0 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004962, allocations: 0 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004966, allocations: 4 kB / 328.7 MB, free: 4.184 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.0003616/0.005327, allocations: 317.6 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.005357, allocations: 8.031 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.005395, allocations: 8.922 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.005541, allocations: 151.4 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005555, allocations: 4.312 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.005573, allocations: 4.375 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005677, allocations: 65.75 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.005687, allocations: 3.938 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.005694, allocations: 4 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.005699, allocations: 4 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.005722, allocations: 4 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.005915, allocations: 170 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.005997, allocations: 89.22 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.006017, allocations: 8.859 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.006028, allocations: 4 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/0.006106, allocations: 66.14 kB / 329.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.006107, allocations: 3.938 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002783/0.006385, allocations: 113.5 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.006417, allocations: 59.39 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.006516, allocations: 173.3 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.006533, allocations: 25.7 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.006561, allocations: 96.11 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.006584, allocations: 27.78 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.006615, allocations: 25.7 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.006683, allocations: 326.8 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.006699, allocations: 10.83 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.006723, allocations: 30 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.006763, allocations: 44.53 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006764, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000113/0.006877, allocations: 80.38 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006889, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006893, allocations: 3.984 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006904, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.006964, allocations: 15.98 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.006967, allocations: 4 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.006992, allocations: 0 / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.006999, allocations: 8.031 kB / 330.6 MB, free: 2.082 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.083e-05/0.00706, allocations: 124.6 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.007074, allocations: 11.92 kB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-05/0.007173, allocations: 75.08 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007175, allocations: 4 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.007178, allocations: 3.984 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00718, allocations: 0 / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.007385, allocations: 287.5 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007386, allocations: 4 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.00741, allocations: 12.03 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007412, allocations: 4 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.007419, allocations: 3.984 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.007421, allocations: 4 kB / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007422, allocations: 80 / 331.2 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.671e-05/0.007519, allocations: 219 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.00753, allocations: 7.953 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.007545, allocations: 7.938 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.007585, allocations: 7.984 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.007607, allocations: 4 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.007623, allocations: 3.984 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.007667, allocations: 51.66 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007667, allocations: 0 / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.007816, allocations: 31.92 kB / 331.5 MB, free: 1.16 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.001221/0.009037, allocations: 0.5773 MB / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.36e-05/0.00913, allocations: 44.77 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.009134, allocations: 0 / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.009162, allocations: 24.78 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.00933, allocations: 31.92 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.009623, allocations: 215.7 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.009661, allocations: 71.33 kB / 332.4 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.009697, allocations: 21.39 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.009757, allocations: 67.38 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009758, allocations: 0 / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of Templates: time 0.003722/0.01348, allocations: 2.012 MB / 334.5 MB, free: 14.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.998382255900651]