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.001469/0.001469, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001416/0.001416, allocations: 210 kB / 24.48 MB, free: 3.941 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.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.2403/0.2403, allocations: 46.95 MB / 361.6 MB, free: 4.035 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+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 0.002109/0.002109, allocations: 63.89 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.439, allocations: 66.04 MB / 0.5619 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003492/0.4425, allocations: 1.783 MB / 0.5636 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4444, allocations: 1.042 MB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.4445, allocations: 0 / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.4451, allocations: 311.3 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.4456, allocations: 251.2 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.4458, allocations: 111.6 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.4462, allocations: 267.2 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.4462, allocations: 5.812 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.4464, allocations: 135.5 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.4467, allocations: 207.9 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.4467, allocations: 8 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.4468, allocations: 52.02 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.447, allocations: 136.5 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4471, allocations: 115 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.4475, allocations: 376.6 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4475, allocations: 0 / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4475, allocations: 0 / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4476, allocations: 0 / 0.5665 GB, free: 15.38 MB / 414.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.001053/0.4486, allocations: 0.6786 MB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4486, allocations: 8.031 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.4487, allocations: 48.61 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.4494, allocations: 394.5 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4494, allocations: 384 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4494, allocations: 12.11 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.4496, allocations: 87.36 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4497, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4497, allocations: 3.984 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4497, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.4498, allocations: 35.92 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4502, allocations: 306.1 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.4505, allocations: 109.2 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4506, allocations: 41.69 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4506, allocations: 4 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.4509, allocations: 109 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4509, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005229/0.4514, allocations: 213.6 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4514, allocations: 81.11 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4527, allocations: 1.038 MB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.4527, allocations: 25.7 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.4529, allocations: 236.1 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.453, allocations: 31.77 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.453, allocations: 25.72 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.4532, allocations: 374.7 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.4533, allocations: 31.97 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4534, allocations: 63.42 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.4536, allocations: 103.3 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4536, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000329/0.454, allocations: 181.2 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.454, allocations: 4 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.454, allocations: 4 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.454, allocations: 0 / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4541, allocations: 27.92 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.4541, allocations: 0 / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.4542, allocations: 15.95 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4543, allocations: 4 kB / 0.5707 GB, free: 10.9 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.0002386/0.4545, allocations: 221.8 kB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.4546, allocations: 51.61 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.455, allocations: 202 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.455, allocations: 4 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.455, allocations: 4.062 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.455, allocations: 3.984 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4553, allocations: 261.2 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4553, allocations: 4 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.4553, allocations: 19.92 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4553, allocations: 3.938 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.4554, allocations: 8 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4554, allocations: 0 / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4554, allocations: 0 / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4557, allocations: 221.4 kB / 0.5716 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4559, allocations: 71.53 kB / 0.5717 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.4559, allocations: 8 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.456, allocations: 4 kB / 0.5717 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.4561, allocations: 15.92 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.4561, allocations: 11.98 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008142/0.4569, allocations: 0.7682 MB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4569, allocations: 0 / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4572, allocations: 43.98 kB / 0.5725 GB, free: 8.93 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.001663/0.4588, allocations: 438 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.4591, allocations: 87.89 kB / 0.573 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4591, allocations: 4.125 kB / 0.573 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4592, allocations: 43.92 kB / 0.5731 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.4597, allocations: 69.39 kB / 0.5731 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4611, allocations: 0.8737 MB / 0.574 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4614, allocations: 237.8 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.4615, allocations: 62.94 kB / 0.5743 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.4616, allocations: 31.42 kB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4616, allocations: 0 / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Templates: time 0.009792/0.4714, allocations: 4.341 MB / 0.5785 GB, free: 2.941 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/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.356144575009239]