Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001639/0.001639, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.001836/0.001836, allocations: 162.2 kB / 24.5 MB, free: 3.711 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.534/1.534, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2084/0.2084, allocations: 32.8 MB / 294.1 MB, free: 15.99 MB / 286.1 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 440.6 MB, free: 9.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3916, allocations: 65.44 MB / 0.4942 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003631/0.3952, allocations: 1.796 MB / 0.496 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3971, allocations: 1.044 MB / 0.497 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.3972, allocations: 2.938 kB / 0.497 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.3978, allocations: 312.1 kB / 0.4973 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.3983, allocations: 261.1 kB / 0.4975 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.3985, allocations: 103.5 kB / 0.4976 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.3989, allocations: 271.1 kB / 0.4979 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.399, allocations: 8.281 kB / 0.4979 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3992, allocations: 133 kB / 0.498 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.3995, allocations: 210 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3996, allocations: 10.31 kB / 0.4982 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3997, allocations: 50.67 kB / 0.4983 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3998, allocations: 146.9 kB / 0.4984 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.4, allocations: 109 kB / 0.4985 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.4004, allocations: 385.5 kB / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4004, allocations: 0 / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4004, allocations: 0 / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4004, allocations: 0 / 0.4989 GB, free: 28.8 MB / 446.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.001017/0.4014, allocations: 0.6891 MB / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4015, allocations: 8.969 kB / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.859e-05/0.4015, allocations: 54.92 kB / 0.4996 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.4021, allocations: 394 kB / 0.5 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4022, allocations: 3.844 kB / 0.5 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.4022, allocations: 11.44 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.4024, allocations: 87.2 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4024, allocations: 3.938 kB / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4024, allocations: 0 / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4024, allocations: 0 / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.4026, allocations: 33.86 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.4029, allocations: 315.8 kB / 0.5004 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.4033, allocations: 103 kB / 0.5005 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.4034, allocations: 39.77 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4034, allocations: 3.188 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.4037, allocations: 115.5 kB / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.4037, allocations: 0 / 0.5007 GB, free: 27.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007/0.4044, allocations: 216.1 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.4045, allocations: 80.33 kB / 0.501 GB, free: 27.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.4057, allocations: 1.057 MB / 0.502 GB, free: 26.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4057, allocations: 29.7 kB / 0.502 GB, free: 26.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4059, allocations: 240.8 kB / 0.5023 GB, free: 26.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.4059, allocations: 33.95 kB / 0.5023 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.406, allocations: 30.17 kB / 0.5023 GB, free: 26.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4061, allocations: 370.5 kB / 0.5027 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.4062, allocations: 34.08 kB / 0.5027 GB, free: 26.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.4063, allocations: 55.59 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.4067, allocations: 97.3 kB / 0.5028 GB, free: 26.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4067, allocations: 0 / 0.5028 GB, free: 26.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000584/0.4073, allocations: 189.5 kB / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4073, allocations: 3.094 kB / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4073, allocations: 3.125 kB / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.4073, allocations: 0 / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.4076, allocations: 29.89 kB / 0.5031 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.4076, allocations: 3.656 kB / 0.5031 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4078, allocations: 10.67 kB / 0.5031 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4078, allocations: 3.062 kB / 0.5031 GB, free: 26.12 MB / 446.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.0003835/0.4082, allocations: 230 kB / 0.5033 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.4083, allocations: 57.16 kB / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.409, allocations: 209 kB / 0.5036 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.409, allocations: 2.625 kB / 0.5036 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.409, allocations: 3.938 kB / 0.5036 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.409, allocations: 7.562 kB / 0.5036 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.4094, allocations: 264.4 kB / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4095, allocations: 0 / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.4095, allocations: 11.88 kB / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.4095, allocations: 7 kB / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.4096, allocations: 0 / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4096, allocations: 3.094 kB / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4096, allocations: 0 / 0.5038 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.4102, allocations: 229.3 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4104, allocations: 70.08 kB / 0.5041 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.4104, allocations: 4 kB / 0.5041 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.4106, allocations: 9.594 kB / 0.5041 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.4107, allocations: 10.31 kB / 0.5041 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.4107, allocations: 6 kB / 0.5042 GB, free: 25.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.4121, allocations: 0.7913 MB / 0.5049 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4121, allocations: 0 / 0.5049 GB, free: 25.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.4127, allocations: 43.56 kB / 0.505 GB, free: 25.21 MB / 446.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.002999/0.4157, allocations: 442 kB / 0.5054 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.4162, allocations: 93.39 kB / 0.5055 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4162, allocations: 3.188 kB / 0.5055 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.4165, allocations: 40.05 kB / 0.5055 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.4174, allocations: 80.45 kB / 0.5056 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4195, allocations: 0.8956 MB / 0.5065 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4199, allocations: 249.6 kB / 0.5067 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.4201, allocations: 57.86 kB / 0.5068 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4202, allocations: 30.56 kB / 0.5068 GB, free: 24.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4202, allocations: 0 / 0.5068 GB, free: 24.41 MB / 446.1 MB Notification: Performance of Templates: time 0.01563/0.4359, allocations: 4.026 MB / 0.5107 GB, free: 23.88 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.130080837989226]