Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.00134/0.00134, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.00307, allocations: 449.7 kB / 10.37 MB, free: 328 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.00105/0.00105, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.00202, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9357/0.9357, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08741/1.023, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.264/0.264, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02196/0.2859, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.129e-05, allocations: 4.797 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002152/0.002174, allocations: 1.807 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.00332, allocations: 1.022 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.003392, allocations: 0 / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.00359, allocations: 47.69 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.003904, allocations: 95.47 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.004124, allocations: 75.62 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.004272, allocations: 107.6 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.004346, allocations: 8 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004458, allocations: 75.81 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.412e-05/0.004533, allocations: 31.91 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.004547, allocations: 7.938 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.004629, allocations: 43.92 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.00467, allocations: 23.92 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.0047, allocations: 11.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004855, allocations: 99.59 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.00487, allocations: 0 / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004871, allocations: 0 / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.004885, allocations: 0 / 296.2 MB, free: 2.75 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.0004196/0.005305, allocations: 349 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005337, allocations: 12.03 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.005371, allocations: 12.92 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.005523, allocations: 150.6 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.005539, allocations: 384 / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.005554, allocations: 4.312 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.005658, allocations: 65.77 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005667, allocations: 3.938 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-06/0.005673, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005677, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.005707, allocations: 11.98 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.005894, allocations: 166 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.005981, allocations: 97.22 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.005999, allocations: 12.86 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.00601, allocations: 0 / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.513e-05/0.006105, allocations: 70.11 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.006107, allocations: 3.984 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002901/0.006397, allocations: 109.6 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.006424, allocations: 51.41 kB / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.006528, allocations: 184.8 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.00654, allocations: 29.7 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.006568, allocations: 96.09 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.006593, allocations: 27.75 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.006624, allocations: 29.69 kB / 297.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.006696, allocations: 326.8 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.006715, allocations: 10.77 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.006736, allocations: 25.66 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.006774, allocations: 40.5 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006776, allocations: 4 kB / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.342e-05/0.006849, allocations: 84.44 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.00686, allocations: 4 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.006864, allocations: 0 / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.006871, allocations: 0 / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.006934, allocations: 19.98 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.006937, allocations: 0 / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.006963, allocations: 4 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.006968, allocations: 0 / 298.1 MB, free: 0.6055 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.166e-05/0.007029, allocations: 123.1 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.007043, allocations: 15.92 kB / 298.3 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.007132, allocations: 79.16 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007134, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007135, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007139, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.007338, allocations: 295.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.00734, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.007367, allocations: 19.92 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.007379, allocations: 11.91 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007382, allocations: 384 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.007387, allocations: 0 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007389, allocations: 12.03 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007391, allocations: 0 / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.007503, allocations: 215 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.007519, allocations: 7.984 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.007556, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.007589, allocations: 7.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.007602, allocations: 8 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.007644, allocations: 51.62 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007644, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007787, allocations: 23.94 kB / 299 MB, free: 15.69 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.001451/0.009238, allocations: 0.6387 MB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.00935, allocations: 48.7 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.009359, allocations: 8.062 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.009392, allocations: 32.92 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.009586, allocations: 39.91 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.009997, allocations: 231.7 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.01003, allocations: 67.33 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.362e-05/0.01007, allocations: 12.97 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.01012, allocations: 71.42 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01012, allocations: 0 / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003207/0.01333, allocations: 2.042 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.878362651914358]