Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001659/0.001659, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001279/0.001279, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.625 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.2527/0.2527, allocations: 34.26 MB / 295.7 MB, free: 0.6797 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.943e-05, allocations: 5.406 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002771/0.0028, allocations: 1.848 MB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004259, allocations: 1.087 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.004351, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.004853, allocations: 307.1 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.005325, allocations: 267 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.005571, allocations: 107.6 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.005856, allocations: 271.2 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.005911, allocations: 5.812 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.006072, allocations: 159.6 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.006273, allocations: 195.6 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.006299, allocations: 12 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.006415, allocations: 51.91 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.006545, allocations: 143.5 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.006628, allocations: 79.64 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.006948, allocations: 278.9 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006952, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006953, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.006959, allocations: 0 / 382.9 MB, free: 13.75 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.0007498/0.007709, allocations: 0.7863 MB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.007748, allocations: 12.03 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.007826, allocations: 64.55 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.008169, allocations: 332.6 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.008193, allocations: 8.375 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.008208, allocations: 384 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.008401, allocations: 94.28 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.008412, allocations: 7.875 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.008425, allocations: 4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.008434, allocations: 4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.008482, allocations: 15.92 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.008782, allocations: 320.2 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.008948, allocations: 98.22 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.008996, allocations: 31.36 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.009015, allocations: 7.938 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.009166, allocations: 108.4 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.009167, allocations: 0 / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003248/0.009492, allocations: 177.2 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.009538, allocations: 85.11 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.01007, allocations: 0.7135 MB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.01009, allocations: 29.7 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.01025, allocations: 302.8 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.0103, allocations: 39.67 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.01034, allocations: 31.36 kB / 386.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.01053, allocations: 0.5626 MB / 386.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.01057, allocations: 15.98 kB / 386.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.01062, allocations: 50.73 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.01071, allocations: 87.17 kB / 386.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01072, allocations: 0 / 386.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001773/0.01089, allocations: 145.3 kB / 387 MB, free: 9.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01091, allocations: 8 kB / 387 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01092, allocations: 3.938 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.01094, allocations: 3.984 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01105, allocations: 27.94 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01106, allocations: 0 / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.01112, allocations: 16 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01113, allocations: 4 kB / 387 MB, free: 9.309 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 0.000113/0.01124, allocations: 161.2 kB / 387.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.01129, allocations: 59.67 kB / 387.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.01152, allocations: 173.8 kB / 387.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01153, allocations: 0 / 387.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01153, allocations: 4 kB / 387.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01154, allocations: 0 / 387.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.0118, allocations: 328.5 kB / 387.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01181, allocations: 4 kB / 387.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.01185, allocations: 19.94 kB / 387.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01186, allocations: 4 kB / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01187, allocations: 0 / 387.8 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01187, allocations: 3.938 kB / 387.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01187, allocations: 4 kB / 387.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.0121, allocations: 203.7 kB / 388 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.01217, allocations: 63.66 kB / 388 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.01221, allocations: 4 kB / 388 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.01227, allocations: 11.92 kB / 388.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.01234, allocations: 11.98 kB / 388.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.01236, allocations: 8 kB / 388.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004097/0.01277, allocations: 490.7 kB / 388.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01277, allocations: 0 / 388.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000236/0.01301, allocations: 44 kB / 388.6 MB, free: 7.668 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.001152/0.01416, allocations: 390.2 kB / 389 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.01434, allocations: 71.58 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.01434, allocations: 4 kB / 389.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.0144, allocations: 43.59 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01473, allocations: 79.95 kB / 389.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.01568, allocations: 0.6715 MB / 389.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.865e-05/0.01577, allocations: 128.2 kB / 390 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.137e-05/0.01586, allocations: 51.44 kB / 390 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.01592, allocations: 32.48 kB / 390.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01592, allocations: 0 / 390.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of Templates: time 0.007332/0.02325, allocations: 4.055 MB / 394.1 MB, free: 2.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.4022685210220516]