Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002263/0.002263, allocations: 220.1 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2697/0.2697, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 83.88 kB / 0.4968 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.399, allocations: 65.98 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003321/0.4023, allocations: 1.854 MB / 0.5631 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.4042, allocations: 1.119 MB / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.4043, allocations: 7.938 kB / 0.5642 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.4048, allocations: 303.3 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.4053, allocations: 259.2 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.4055, allocations: 107.6 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.4059, allocations: 255.4 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.4059, allocations: 17.61 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.4061, allocations: 131.5 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.4063, allocations: 219.4 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.4064, allocations: 8 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4065, allocations: 47.98 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4066, allocations: 143.5 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.4067, allocations: 146.8 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.4072, allocations: 384.8 kB / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4072, allocations: 0 / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4072, allocations: 0 / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4072, allocations: 0 / 0.5661 GB, free: 28 kB / 398.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.00103/0.4082, allocations: 0.7655 MB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.4082, allocations: 8.031 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.4083, allocations: 48.61 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.4089, allocations: 464.3 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4089, allocations: 384 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.409, allocations: 8.359 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4091, allocations: 91.62 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4092, allocations: 4 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.4092, allocations: 0 / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.4092, allocations: 3.938 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4093, allocations: 31.97 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.4097, allocations: 378.3 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.4099, allocations: 109.2 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.41, allocations: 33.7 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.41, allocations: 4 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.4102, allocations: 116.9 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4102, allocations: 4 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004474/0.4107, allocations: 201.2 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4107, allocations: 77.11 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4119, allocations: 1.05 MB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4119, allocations: 25.7 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.4121, allocations: 240.1 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.4121, allocations: 39.72 kB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.4122, allocations: 25.72 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4124, allocations: 374.8 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.4124, allocations: 27.98 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.4125, allocations: 55.41 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.4127, allocations: 99.84 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4127, allocations: 0 / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003036/0.413, allocations: 181.1 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.413, allocations: 6.344 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.413, allocations: 4 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.4131, allocations: 0 / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4132, allocations: 24.05 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4132, allocations: 4 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.4133, allocations: 7.984 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4133, allocations: 4 kB / 0.5704 GB, free: 11.28 MB / 414.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.0002166/0.4135, allocations: 234.4 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.4136, allocations: 59.56 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.4139, allocations: 197.7 kB / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4139, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4139, allocations: 4 kB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4139, allocations: 0 / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.4143, allocations: 337.5 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4143, allocations: 4 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.4143, allocations: 20.11 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4143, allocations: 0 / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4143, allocations: 12 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4143, allocations: 0 / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4143, allocations: 0 / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.4147, allocations: 217.5 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.4148, allocations: 144.7 kB / 0.5716 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.4149, allocations: 4 kB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.415, allocations: 4 kB / 0.5716 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.415, allocations: 7.984 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.415, allocations: 8 kB / 0.5717 GB, free: 9.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008229/0.4158, allocations: 0.7878 MB / 0.5724 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4158, allocations: 3.938 kB / 0.5724 GB, free: 9.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.4161, allocations: 47.92 kB / 0.5725 GB, free: 9.102 MB / 414.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.001424/0.4175, allocations: 411.7 kB / 0.5729 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.4178, allocations: 75.91 kB / 0.5729 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4178, allocations: 3.938 kB / 0.5729 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4179, allocations: 44.09 kB / 0.573 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4183, allocations: 81.5 kB / 0.5731 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4195, allocations: 0.901 MB / 0.5739 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.4199, allocations: 0.8469 MB / 0.5748 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.42, allocations: 62.94 kB / 0.5748 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.4201, allocations: 31.44 kB / 0.5749 GB, free: 6.746 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4201, allocations: 0 / 0.5749 GB, free: 6.746 MB / 414.1 MB Notification: Performance of Templates: time 0.008583/0.4287, allocations: 3.872 MB / 0.5786 GB, free: 2.887 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.8337747738696635]