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.001948/0.001948, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00252/0.00252, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.572/1.572, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2171/0.2171, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.1.|startTime.y.1.",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.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.21e-05, allocations: 6.281 kB / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004474/0.004506, allocations: 1.804 MB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.007466, allocations: 1.037 MB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.007587, allocations: 3.938 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.008326, allocations: 315.1 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.00908, allocations: 259 kB / 446.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.009443, allocations: 115.6 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.01001, allocations: 271.2 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.01007, allocations: 9.75 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.0104, allocations: 151.6 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.01084, allocations: 199.6 kB / 446.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.01089, allocations: 8 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.01105, allocations: 47.97 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.01129, allocations: 139.5 kB / 447.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.01147, allocations: 83.58 kB / 447.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006855/0.01215, allocations: 354.7 kB / 447.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01215, allocations: 0 / 447.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01216, allocations: 4 kB / 447.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01216, allocations: 4 kB / 447.5 MB, free: 0.5312 MB / 366.1 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.2349/0.247, allocations: 0.6686 MB / 448.2 MB, free: 19.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2471, allocations: 9.656 kB / 448.2 MB, free: 19.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2472, allocations: 55.27 kB / 448.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.2478, allocations: 396.5 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2478, allocations: 5.828 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2479, allocations: 4.516 kB / 448.6 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2481, allocations: 89.72 kB / 448.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2481, allocations: 0.5625 kB / 448.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2481, allocations: 1.062 kB / 448.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2481, allocations: 1.75 kB / 448.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2482, allocations: 38.48 kB / 448.8 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.2486, allocations: 306 kB / 449.1 MB, free: 19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.2489, allocations: 107.2 kB / 449.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.249, allocations: 42.44 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2491, allocations: 2.141 kB / 449.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.2493, allocations: 118.7 kB / 449.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.2493, allocations: 0 / 449.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005396/0.2498, allocations: 205.5 kB / 449.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2499, allocations: 84.38 kB / 449.6 MB, free: 18.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2511, allocations: 1.061 MB / 450.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2511, allocations: 31.08 kB / 450.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2513, allocations: 241.3 kB / 450.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2513, allocations: 24.58 kB / 451 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.2514, allocations: 30.39 kB / 451 MB, free: 18.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2515, allocations: 366.8 kB / 451.4 MB, free: 17.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.2516, allocations: 29.14 kB / 451.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.2517, allocations: 64.48 kB / 451.4 MB, free: 17.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2518, allocations: 97.94 kB / 451.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2518, allocations: 1.031 kB / 451.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003058/0.2521, allocations: 181.1 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2522, allocations: 6.297 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2522, allocations: 1.438 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2522, allocations: 1.156 kB / 451.7 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2523, allocations: 25.17 kB / 451.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2523, allocations: 3.719 kB / 451.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2525, allocations: 17.52 kB / 451.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2525, allocations: 6.344 kB / 451.8 MB, free: 17.48 MB / 366.1 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.0001941/0.2527, allocations: 223.3 kB / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.2527, allocations: 60.45 kB / 452.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.2531, allocations: 205 kB / 452.3 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.2531, allocations: 1.344 kB / 452.3 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2531, allocations: 1.312 kB / 452.3 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2531, allocations: 1.359 kB / 452.3 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.2534, allocations: 276 kB / 452.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2534, allocations: 0.875 kB / 452.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.2534, allocations: 15.11 kB / 452.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2534, allocations: 1.375 kB / 452.5 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2535, allocations: 11.61 kB / 452.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2535, allocations: 5.375 kB / 452.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2535, allocations: 1.375 kB / 452.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.2538, allocations: 215.8 kB / 452.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.2539, allocations: 69.27 kB / 452.8 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.2539, allocations: 6.531 kB / 452.9 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.254, allocations: 10.14 kB / 452.9 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2541, allocations: 8.203 kB / 452.9 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.2541, allocations: 10.23 kB / 452.9 MB, free: 16.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007662/0.2548, allocations: 0.7929 MB / 453.7 MB, free: 16.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2548, allocations: 4 kB / 453.7 MB, free: 16.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.2551, allocations: 44.36 kB / 453.7 MB, free: 16.58 MB / 366.1 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.00158/0.2567, allocations: 442.8 kB / 454.2 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.257, allocations: 84.95 kB / 454.2 MB, free: 16.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.257, allocations: 0 / 454.2 MB, free: 16.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2571, allocations: 46.25 kB / 454.3 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.2575, allocations: 74.47 kB / 454.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2587, allocations: 0.9113 MB / 455.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2589, allocations: 239.2 kB / 455.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.259, allocations: 59.91 kB / 455.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.2591, allocations: 33.27 kB / 455.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2591, allocations: 9.219 kB / 455.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Templates: time 0.009613/0.2687, allocations: 4.004 MB / 459.6 MB, free: 15.3 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1350959949195385]