Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001033/0.001033, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001143/0.001143, allocations: 165.5 kB / 24.82 MB, free: 9.27 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 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3013/0.3013, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.787e-05, allocations: 2.312 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002866/0.002894, allocations: 1.835 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.004553, allocations: 1.076 MB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004653, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.005147, allocations: 311.1 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.005894, allocations: 263 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.006124, allocations: 107.6 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.006416, allocations: 271.2 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.006468, allocations: 5.812 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.006632, allocations: 155.6 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.006833, allocations: 211.6 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.006854, allocations: 8 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.006953, allocations: 47.92 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.007068, allocations: 143.5 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.007144, allocations: 71.66 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.007431, allocations: 282.9 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.007433, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007434, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.00744, allocations: 0 / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006824/0.008122, allocations: 0.79 MB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.008161, allocations: 12.03 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.00823, allocations: 60.55 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.008503, allocations: 316.7 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.008522, allocations: 8.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.008531, allocations: 384 / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.008677, allocations: 94.28 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.008687, allocations: 7.922 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.008695, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.008702, allocations: 0 / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.008735, allocations: 19.92 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.008955, allocations: 228.7 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.009072, allocations: 98.14 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.009109, allocations: 27.36 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.009126, allocations: 4 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.009243, allocations: 104.3 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.009244, allocations: 0 / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002322/0.009476, allocations: 173.6 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.009513, allocations: 89.11 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.009943, allocations: 0.6898 MB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.00996, allocations: 29.7 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.01011, allocations: 306.7 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.01016, allocations: 35.72 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.0102, allocations: 35.34 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01038, allocations: 0.5664 MB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.0104, allocations: 11.98 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/0.01044, allocations: 54.73 kB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.01051, allocations: 74.66 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01052, allocations: 4 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001372/0.01065, allocations: 141.2 kB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01067, allocations: 6.188 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01067, allocations: 4 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01069, allocations: 3.938 kB / 387.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.01076, allocations: 23.98 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.01077, allocations: 4 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.01082, allocations: 12 kB / 387.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01083, allocations: 11.98 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.81e-05/0.01093, allocations: 165.1 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01097, allocations: 51.67 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.01116, allocations: 166.1 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01116, allocations: 3.938 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01116, allocations: 0 / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01117, allocations: 4 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01135, allocations: 233 kB / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01136, allocations: 4 kB / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.01139, allocations: 16 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01139, allocations: 0 / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01139, allocations: 7.938 kB / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0114, allocations: 0 / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0114, allocations: 0 / 388 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.01156, allocations: 215.6 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.01161, allocations: 51.66 kB / 388.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01164, allocations: 8 kB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.01167, allocations: 3.984 kB / 388.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.0117, allocations: 15.92 kB / 388.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01172, allocations: 12 kB / 388.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.01198, allocations: 438.6 kB / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01198, allocations: 0 / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.01216, allocations: 40 kB / 388.7 MB, free: 7.785 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001117/0.01328, allocations: 397.6 kB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01338, allocations: 59.59 kB / 389.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01339, allocations: 0 / 389.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.01343, allocations: 43.58 kB / 389.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01369, allocations: 79.98 kB / 389.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.01429, allocations: 0.6559 MB / 390 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.702e-05/0.01436, allocations: 136.2 kB / 390.1 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.01443, allocations: 50.94 kB / 390.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01454, allocations: 118.2 kB / 390.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01454, allocations: 0 / 390.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of Templates: time 0.006218/0.02076, allocations: 4.343 MB / 394.6 MB, free: 2.066 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.3248616796918213]