Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 106.4 kB / 17.78 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003395/0.3648, allocations: 1.664 MB / 0.5201 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3661, allocations: 0.8566 MB / 0.521 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3662, allocations: 3.938 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3665, allocations: 47.17 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3668, allocations: 59.69 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.3671, allocations: 108.3 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3673, allocations: 88.12 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.275e-05/0.3674, allocations: 4.781 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3675, allocations: 45.12 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.3676, allocations: 28.88 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3676, allocations: 3.781 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3677, allocations: 33.56 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3678, allocations: 23.69 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.3679, allocations: 45.53 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3681, allocations: 116.2 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3681, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3681, allocations: 0.7031 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3682, allocations: 1.094 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005423/0.3687, allocations: 431.7 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3688, allocations: 10.25 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.3688, allocations: 36.42 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.3688, allocations: 18.44 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.3691, allocations: 210.4 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3691, allocations: 1.594 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3691, allocations: 5.641 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3693, allocations: 51.28 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3693, allocations: 4 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3693, allocations: 1.094 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3693, allocations: 0 / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.3694, allocations: 16.33 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.3696, allocations: 184.7 kB / 0.5225 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.3697, allocations: 61.23 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.3698, allocations: 23.31 kB / 0.5225 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3698, allocations: 5.797 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.37, allocations: 63.91 kB / 0.5226 GB, free: 220 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.37, allocations: 1.156 kB / 0.5226 GB, free: 220 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003024/0.3703, allocations: 101.2 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3704, allocations: 52.56 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3706, allocations: 262.9 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3707, allocations: 33.7 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3707, allocations: 114.5 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3708, allocations: 8.719 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.3708, allocations: 18.94 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3709, allocations: 328.6 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.371, allocations: 14.33 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.371, allocations: 26.38 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3712, allocations: 49.52 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3712, allocations: 6.156 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001834/0.3714, allocations: 80.59 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3714, allocations: 5.625 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3714, allocations: 0.5156 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3714, allocations: 5.094 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.3715, allocations: 10.27 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3715, allocations: 5.797 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.3716, allocations: 11.06 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3716, allocations: 2.125 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001128/0.3717, allocations: 132.8 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3717, allocations: 14.52 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3718, allocations: 18.8 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3718, allocations: 1.094 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3718, allocations: 0.7031 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3718, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.372, allocations: 203.3 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.372, allocations: 0 / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.372, allocations: 7.891 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.372, allocations: 3.984 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3721, allocations: 1.891 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3721, allocations: 1.25 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3721, allocations: 4.641 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.3723, allocations: 114.2 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3723, allocations: 92.27 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3724, allocations: 2.609 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.3724, allocations: 2.812 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3725, allocations: 4.016 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3725, allocations: 6.109 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.3727, allocations: 200.2 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3727, allocations: 3.938 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3729, allocations: 18.75 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001298/0.3742, allocations: 0.9675 MB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3744, allocations: 38.25 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3744, allocations: 0 / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.3745, allocations: 25.84 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3748, allocations: 27.12 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3767, allocations: 1.649 MB / 0.5271 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3769, allocations: 0.7124 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.377, allocations: 14.73 kB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.3771, allocations: 37.69 kB / 0.5279 GB, free: 11.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3771, allocations: 4 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.3982, allocations: 3.444 MB / 0.5313 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.006, allocations: 14.19 kB / 0.5313 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time