Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.0009599/0.0009599, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001006/0.001006, allocations: 169.1 kB / 24.84 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9994/0.9994, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1945/0.1945, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.69e-05, allocations: 2.312 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002663/0.00269, allocations: 2.251 MB / 351.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004029, allocations: 1.162 MB / 352.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.004168, allocations: 7.938 kB / 352.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.004456, allocations: 290.9 kB / 352.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.004743, allocations: 278.7 kB / 353 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.005166, allocations: 331.2 kB / 353.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.005577, allocations: 0.5256 MB / 353.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.005691, allocations: 33.22 kB / 353.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.005965, allocations: 283.2 kB / 354.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.006145, allocations: 255.3 kB / 354.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.006172, allocations: 20 kB / 354.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.00626, allocations: 55.92 kB / 354.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.006347, allocations: 123.5 kB / 354.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.006419, allocations: 99.56 kB / 354.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.006683, allocations: 306.7 kB / 355 MB, free: 3.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.00669, allocations: 4 kB / 355 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.006692, allocations: 4 kB / 355 MB, free: 3.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006698, allocations: 0 / 355 MB, free: 3.07 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005388/0.007237, allocations: 0.8029 MB / 355.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.007263, allocations: 12.03 kB / 355.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.007328, allocations: 64.59 kB / 355.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.007551, allocations: 324.7 kB / 356.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.007569, allocations: 12.36 kB / 356.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.007593, allocations: 12.38 kB / 356.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.007773, allocations: 201.2 kB / 356.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.007785, allocations: 7.891 kB / 356.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.007798, allocations: 8 kB / 356.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.007805, allocations: 7.922 kB / 356.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.007877, allocations: 59.88 kB / 356.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.008334, allocations: 0.9333 MB / 357.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.008535, allocations: 255.6 kB / 357.7 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.008593, allocations: 74.41 kB / 357.7 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.008607, allocations: 4 kB / 357.7 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.008869, allocations: 227.7 kB / 358 MB, free: 15.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.012e-06/0.00887, allocations: 0 / 358 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009362/0.009807, allocations: 0.5602 MB / 358.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.009889, allocations: 170.1 kB / 358.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.01028, allocations: 0.5296 MB / 359.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.01031, allocations: 45.69 kB / 359.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01047, allocations: 279.7 kB / 359.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.01057, allocations: 130.9 kB / 359.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.01066, allocations: 83.81 kB / 359.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.01086, allocations: 0.5468 MB / 360.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.01093, allocations: 48.95 kB / 360.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01107, allocations: 161.8 kB / 360.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.01128, allocations: 228.8 kB / 360.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01129, allocations: 0 / 360.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003553/0.01164, allocations: 317 kB / 361 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01166, allocations: 8 kB / 361 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01166, allocations: 0 / 361 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.01167, allocations: 4 kB / 361 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01184, allocations: 83.83 kB / 361.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01185, allocations: 7.938 kB / 361.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01196, allocations: 28.11 kB / 361.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.01197, allocations: 15.98 kB / 361.2 MB, free: 12.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0001453/0.01212, allocations: 187.1 kB / 361.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.0122, allocations: 75.61 kB / 361.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.01262, allocations: 381.5 kB / 361.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.01262, allocations: 8 kB / 361.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01263, allocations: 3.938 kB / 361.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01263, allocations: 3.984 kB / 361.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.01362, allocations: 1.305 MB / 363.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01362, allocations: 0 / 363.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.01371, allocations: 56.84 kB / 363.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01372, allocations: 7.938 kB / 363.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01374, allocations: 15.98 kB / 363.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01374, allocations: 7.938 kB / 363.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.01375, allocations: 4 kB / 363.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.01433, allocations: 1.014 MB / 364.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.01438, allocations: 47.66 kB / 364.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.01442, allocations: 16 kB / 364.3 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.01459, allocations: 19.98 kB / 364.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.01465, allocations: 43.88 kB / 364.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.01468, allocations: 19.98 kB / 364.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.01489, allocations: 342.7 kB / 364.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01489, allocations: 0 / 364.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.01524, allocations: 95.83 kB / 364.8 MB, free: 8.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001057/0.0163, allocations: 460.4 kB / 365.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.01662, allocations: 208.5 kB / 365.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.01662, allocations: 4 kB / 365.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01674, allocations: 116 kB / 365.6 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.01739, allocations: 155.5 kB / 365.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.01875, allocations: 0.8307 MB / 366.5 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01888, allocations: 133.9 kB / 366.7 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.01906, allocations: 79.33 kB / 366.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.01927, allocations: 182.1 kB / 366.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01928, allocations: 4 kB / 366.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of Templates: time 0.009225/0.0285, allocations: 6.882 MB / 373.8 MB, free: 15.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.6883371639996767]