Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009851/0.0009851, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009772/0.0009772, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9073/0.9073, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1401/0.1401, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.602e-05, allocations: 8.781 kB / 323.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002767/0.002793, allocations: 1.844 MB / 325.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004026, allocations: 1.083 MB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.004097, allocations: 3.938 kB / 326.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.004501, allocations: 291.2 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.004895, allocations: 258.9 kB / 326.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.005098, allocations: 115.5 kB / 326.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.005323, allocations: 271.2 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.005365, allocations: 10.47 kB / 327.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.005515, allocations: 155.6 kB / 327.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.005668, allocations: 172.1 kB / 327.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.005685, allocations: 4 kB / 327.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.005767, allocations: 47.97 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.005869, allocations: 140.5 kB / 327.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.005931, allocations: 71.66 kB / 327.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.006163, allocations: 274.9 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006165, allocations: 0 / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.006167, allocations: 4 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006172, allocations: 3.938 kB / 328 MB, free: 14 MB / 314.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.0005188/0.006691, allocations: 0.6265 MB / 328.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.00672, allocations: 15.98 kB / 328.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.006766, allocations: 24.91 kB / 328.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.007009, allocations: 297.9 kB / 329 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.007024, allocations: 8.375 kB / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.007035, allocations: 4.312 kB / 329 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.007156, allocations: 103.4 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007164, allocations: 3.938 kB / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.007171, allocations: 0 / 329.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.007177, allocations: 3.984 kB / 329.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/0.007206, allocations: 17.64 kB / 329.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.007323, allocations: 122.3 kB / 329.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.007429, allocations: 78.8 kB / 329.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.007457, allocations: 25.72 kB / 329.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007469, allocations: 3.984 kB / 329.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.007576, allocations: 99.83 kB / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 7.82e-07/0.007577, allocations: 0 / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001688/0.007746, allocations: 107.7 kB / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.007789, allocations: 81.05 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.008166, allocations: 0.5907 MB / 330.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.008188, allocations: 25.7 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.008251, allocations: 153.3 kB / 330.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.008289, allocations: 35.73 kB / 330.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.008323, allocations: 25.7 kB / 330.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.008585, allocations: 366.7 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.008615, allocations: 18.81 kB / 330.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.008647, allocations: 35.42 kB / 330.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.008716, allocations: 67.89 kB / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008719, allocations: 0 / 330.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001061/0.008825, allocations: 115.2 kB / 331 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.008835, allocations: 8 kB / 331 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.008841, allocations: 0 / 331 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.008856, allocations: 4 kB / 331 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.008931, allocations: 23.92 kB / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.008935, allocations: 0 / 331.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.008982, allocations: 11.94 kB / 331.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.008989, allocations: 4 kB / 331.1 MB, free: 10.68 MB / 314.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 8.435e-05/0.009074, allocations: 129.2 kB / 331.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.009103, allocations: 27.97 kB / 331.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.009235, allocations: 126.2 kB / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.009238, allocations: 4 kB / 331.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009242, allocations: 11.88 kB / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009246, allocations: 0 / 331.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.009371, allocations: 161.7 kB / 331.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009373, allocations: 0 / 331.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.009401, allocations: 11.98 kB / 331.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009403, allocations: 4 kB / 331.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.00941, allocations: 4 kB / 331.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.009411, allocations: 0 / 331.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009413, allocations: 4 kB / 331.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.009518, allocations: 138.3 kB / 331.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.009561, allocations: 51.61 kB / 331.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.009588, allocations: 11.97 kB / 331.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.009628, allocations: 4 kB / 331.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.009656, allocations: 7.984 kB / 331.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.00967, allocations: 11.94 kB / 331.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.009866, allocations: 315.2 kB / 332.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009866, allocations: 0 / 332.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.01001, allocations: 40 kB / 332.1 MB, free: 9.582 MB / 314.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.001093/0.0111, allocations: 0.515 MB / 332.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.945e-05/0.0112, allocations: 56.69 kB / 332.7 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.0112, allocations: 8 kB / 332.7 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.01124, allocations: 32.84 kB / 332.7 MB, free: 9.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.01144, allocations: 69.3 kB / 332.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.01203, allocations: 0.6419 MB / 333.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.0121, allocations: 132.2 kB / 333.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01216, allocations: 46.94 kB / 333.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/0.01226, allocations: 95.36 kB / 333.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01226, allocations: 0 / 333.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of Templates: time 0.006227/0.01849, allocations: 4.264 MB / 338 MB, free: 3.977 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.9787953412160277]