Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.001661/0.001661, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002423/0.002423, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.474/1.474, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.23/0.23, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") [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.002487/0.002487, allocations: 76.16 kB / 0.4968 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3921, allocations: 65.99 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003903/0.396, allocations: 1.83 MB / 0.563 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3979, allocations: 1.119 MB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.398, allocations: 7.938 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.3985, allocations: 307.3 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.399, allocations: 271.1 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3992, allocations: 103.6 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.3996, allocations: 259.3 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.3996, allocations: 5.688 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3998, allocations: 135.5 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.4001, allocations: 223.4 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.4001, allocations: 8 kB / 0.5654 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4002, allocations: 47.98 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.4004, allocations: 139.5 kB / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.4005, allocations: 154.8 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.4009, allocations: 377 kB / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4009, allocations: 0 / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4009, allocations: 0 / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4009, allocations: 0 / 0.5661 GB, free: 56 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.001096/0.402, allocations: 0.7656 MB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4021, allocations: 8.031 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.4022, allocations: 52.61 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.4029, allocations: 464.3 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4029, allocations: 384 / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4029, allocations: 4.375 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.4031, allocations: 91.67 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4031, allocations: 11.91 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4031, allocations: 0 / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4031, allocations: 4 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4033, allocations: 27.98 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.4037, allocations: 390.3 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.404, allocations: 101.2 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.404, allocations: 37.7 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.4041, allocations: 7.938 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.4043, allocations: 109 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4043, allocations: 0 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004885/0.4048, allocations: 205.2 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.4048, allocations: 77.11 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.406, allocations: 1.05 MB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.406, allocations: 33.69 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4062, allocations: 236 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.4063, allocations: 31.73 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.4063, allocations: 29.7 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4065, allocations: 370.8 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.4066, allocations: 31.98 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4067, allocations: 63.41 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4069, allocations: 79.86 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4069, allocations: 8 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003144/0.4072, allocations: 177.2 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4072, allocations: 11.92 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4072, allocations: 4 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4072, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4074, allocations: 20 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4074, allocations: 3.984 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.4075, allocations: 4 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.4075, allocations: 8 kB / 0.5704 GB, free: 11.3 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.0002254/0.4077, allocations: 226.7 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.4078, allocations: 59.56 kB / 0.5707 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.4082, allocations: 201.7 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4082, allocations: 4 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4082, allocations: 0 / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4082, allocations: 0 / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.4085, allocations: 345.4 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4085, allocations: 3.984 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.4086, allocations: 19.94 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4086, allocations: 0 / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4086, allocations: 4 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4086, allocations: 0 / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4086, allocations: 0 / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.409, allocations: 225.6 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4091, allocations: 144.7 kB / 0.5716 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.4092, allocations: 12 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.4093, allocations: 4 kB / 0.5716 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4093, allocations: 11.97 kB / 0.5716 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.4093, allocations: 7.984 kB / 0.5717 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008678/0.4102, allocations: 0.7839 MB / 0.5724 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4102, allocations: 0 / 0.5724 GB, free: 9.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.4105, allocations: 47.94 kB / 0.5725 GB, free: 9.117 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.001513/0.412, allocations: 411.6 kB / 0.5729 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.4123, allocations: 79.89 kB / 0.5729 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4123, allocations: 4 kB / 0.5729 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4124, allocations: 40.3 kB / 0.573 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4128, allocations: 79.12 kB / 0.5731 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.4141, allocations: 0.9012 MB / 0.5739 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.4146, allocations: 0.8546 MB / 0.5748 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.4147, allocations: 58.94 kB / 0.5748 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.4148, allocations: 27.44 kB / 0.5749 GB, free: 6.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4148, allocations: 4 kB / 0.5749 GB, free: 6.766 MB / 414.1 MB Notification: Performance of Templates: time 0.008636/0.4234, allocations: 3.88 MB / 0.5786 GB, free: 2.898 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.187053835019469]