Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001087/0.001087, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002666, 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.000747/0.000747, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001685, 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.9688/0.9688, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08511/1.054, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.2484/0.2484, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04836/0.2968, allocations: 13.1 MB / 291.3 MB, free: 7.383 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.227e-05, allocations: 5.828 kB / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00346/0.003492, allocations: 1.81 MB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005004, allocations: 1.018 MB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.005082, allocations: 0 / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.005298, allocations: 51.69 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.005546, allocations: 99.47 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.005748, allocations: 79.61 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.005907, allocations: 111.7 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.005994, allocations: 7.938 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.006129, allocations: 83.8 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.006205, allocations: 23.86 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.006221, allocations: 4 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.006311, allocations: 43.92 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.006358, allocations: 27.92 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.006391, allocations: 15.94 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.006561, allocations: 111.5 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.006575, allocations: 0 / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006576, allocations: 4 kB / 296.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.006591, allocations: 0 / 296.2 MB, free: 2.73 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.0004364/0.007028, allocations: 345 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.007057, allocations: 8.031 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.007089, allocations: 12.92 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.007243, allocations: 150.3 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.007259, allocations: 4.375 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.007275, allocations: 4.375 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.007388, allocations: 65.7 kB / 296.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007397, allocations: 3.938 kB / 296.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.007407, allocations: 11.98 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.007412, allocations: 0 / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.00744, allocations: 8 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.007647, allocations: 173.8 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.00774, allocations: 85.36 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.007763, allocations: 16.86 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.007774, allocations: 3.938 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.007886, allocations: 70.14 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.007887, allocations: 4 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003135/0.0082, allocations: 101.6 kB / 297.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.008233, allocations: 55.41 kB / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.008345, allocations: 197.6 kB / 297.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.008359, allocations: 25.7 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.008391, allocations: 96.09 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.008418, allocations: 31.73 kB / 297.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.008452, allocations: 25.7 kB / 297.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.008552, allocations: 330.8 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.008584, allocations: 10.83 kB / 298 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.008619, allocations: 21.72 kB / 298 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.008669, allocations: 48.44 kB / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.00867, allocations: 0 / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.284e-05/0.008753, allocations: 80.44 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008764, allocations: 4 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008769, allocations: 0 / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.008778, allocations: 4 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.00885, allocations: 15.98 kB / 298.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.008853, allocations: 4 kB / 298.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.008881, allocations: 4.031 kB / 298.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.008886, allocations: 0 / 298.2 MB, free: 0.5664 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.386e-05/0.00895, allocations: 120.6 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.008964, allocations: 15.92 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.009063, allocations: 75.12 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009066, allocations: 4 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.009067, allocations: 0 / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00907, allocations: 0 / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.009278, allocations: 295.4 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00928, allocations: 4.031 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.009308, allocations: 19.92 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.009334, allocations: 12.09 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.009337, allocations: 3.938 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.009342, allocations: 384 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.009345, allocations: 4 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009346, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.009448, allocations: 234.8 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.009463, allocations: 4 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.009502, allocations: 0 / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.009527, allocations: 7.984 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.009539, allocations: 12 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.009589, allocations: 57.42 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009589, allocations: 0 / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.009753, allocations: 31.92 kB / 299.1 MB, free: 15.62 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.001452/0.01121, allocations: 0.6268 MB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.0113, allocations: 52.7 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01131, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.01134, allocations: 32.92 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.01152, allocations: 35.92 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.01197, allocations: 242.6 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.01201, allocations: 75.45 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.177e-05/0.01206, allocations: 12.97 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.01212, allocations: 67.38 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01212, allocations: 4 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003658/0.01578, allocations: 2.046 MB / 302.2 MB, free: 12.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.909367958083749]