Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.002439/0.002439, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00283/0.00283, allocations: 165.3 kB / 24.28 MB, free: 152 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.648/1.648, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3444/0.3444, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.431e-05, allocations: 2.312 kB / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003817/0.003851, allocations: 1.813 MB / 379.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.006133, allocations: 1.083 MB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.006265, allocations: 0 / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.006886, allocations: 299.2 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006563/0.007542, allocations: 266.9 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.007858, allocations: 103.6 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.008313, allocations: 267.2 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.008369, allocations: 5.812 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.008682, allocations: 155.6 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.009016, allocations: 204.1 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.009054, allocations: 8 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.009206, allocations: 47.92 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.009392, allocations: 136.5 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.009519, allocations: 75.66 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.01004, allocations: 350.7 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01005, allocations: 0 / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01005, allocations: 0 / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.01006, allocations: 0 / 382.1 MB, free: 14.1 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.001372/0.01143, allocations: 0.8016 MB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01147, allocations: 12.03 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01161, allocations: 52.61 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.01224, allocations: 332.6 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.01226, allocations: 8.375 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.01228, allocations: 4.375 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.0125, allocations: 93.56 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.01252, allocations: 3.938 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.01253, allocations: 0 / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.01253, allocations: 0 / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.01265, allocations: 31.92 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.0132, allocations: 348.3 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.01352, allocations: 114.2 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01362, allocations: 43.36 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.01364, allocations: 0 / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.01389, allocations: 112.4 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.01389, allocations: 3.938 kB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005702/0.01446, allocations: 201.2 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.01453, allocations: 85.05 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.01556, allocations: 0.7603 MB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.01559, allocations: 33.69 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.01589, allocations: 318.8 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.01595, allocations: 31.84 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.01603, allocations: 39.36 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005103/0.01654, allocations: 0.5782 MB / 386.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.01663, allocations: 23.98 kB / 386.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.01674, allocations: 66.73 kB / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01693, allocations: 95.17 kB / 386.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01694, allocations: 3.938 kB / 386.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003514/0.01729, allocations: 173.2 kB / 386.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.0173, allocations: 8.062 kB / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.01732, allocations: 3.938 kB / 386.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01734, allocations: 4 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01746, allocations: 23.92 kB / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01747, allocations: 0 / 386.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01757, allocations: 11.92 kB / 386.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.01758, allocations: 4 kB / 386.5 MB, free: 9.438 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.0001765/0.01776, allocations: 177.1 kB / 386.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.01785, allocations: 63.61 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.01825, allocations: 181.8 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01826, allocations: 4 kB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01826, allocations: 0 / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01827, allocations: 4 kB / 386.9 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.01871, allocations: 348.5 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01871, allocations: 3.938 kB / 387.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.01876, allocations: 12.25 kB / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01876, allocations: 0 / 387.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.01878, allocations: 8 kB / 387.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.01879, allocations: 7.938 kB / 387.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01879, allocations: 0 / 387.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.01919, allocations: 231.6 kB / 387.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.01934, allocations: 63.59 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.01939, allocations: 11.94 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.01947, allocations: 7.938 kB / 387.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01952, allocations: 7.984 kB / 387.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.01955, allocations: 11.98 kB / 387.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006434/0.02019, allocations: 0.491 MB / 388.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02019, allocations: 0 / 388.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.02046, allocations: 40 kB / 388.2 MB, free: 7.711 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.00293/0.02339, allocations: 437.3 kB / 388.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.0237, allocations: 99.52 kB / 388.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0237, allocations: 0 / 388.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.02383, allocations: 47.61 kB / 388.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.02433, allocations: 83.2 kB / 388.8 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02552, allocations: 0.6677 MB / 389.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.0258, allocations: 225.8 kB / 389.7 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.02591, allocations: 42.94 kB / 389.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.026, allocations: 32.5 kB / 389.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.026, allocations: 0 / 389.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.03611, allocations: 3.963 MB / 393.7 MB, free: 2.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.045559470891021]