Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 205.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.249/0.249, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 80.28 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4446, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002948/0.4476, allocations: 1.721 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4493, allocations: 1.025 MB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.4493, allocations: 1.906 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.4497, allocations: 49.98 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.45, allocations: 93.03 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.4503, allocations: 75.11 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4505, allocations: 106.3 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.4507, allocations: 14.84 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.4508, allocations: 44.23 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.4509, allocations: 41.39 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.4509, allocations: 4.125 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.451, allocations: 39.48 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.4511, allocations: 22.75 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.4512, allocations: 35.98 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.4514, allocations: 117.8 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4514, allocations: 0 / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4515, allocations: 5.312 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4515, allocations: 0 / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006634/0.4521, allocations: 432.8 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4522, allocations: 9.625 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.4522, allocations: 36.12 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.4523, allocations: 9.016 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.4526, allocations: 213.3 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4526, allocations: 1.75 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.4527, allocations: 14.67 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.4528, allocations: 53.98 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4528, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4529, allocations: 4 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4529, allocations: 5.375 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.453, allocations: 18.98 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4534, allocations: 290.8 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4536, allocations: 57.88 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.4537, allocations: 24.84 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4537, allocations: 1.312 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.4539, allocations: 68.78 kB / 0.5351 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4539, allocations: 1.625 kB / 0.5351 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006081/0.4545, allocations: 173.2 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4546, allocations: 52.94 kB / 0.5353 GB, free: 9.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4548, allocations: 200.3 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4548, allocations: 31.08 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.4549, allocations: 100.5 kB / 0.5356 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.4549, allocations: 28.25 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.455, allocations: 24.41 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4551, allocations: 322.4 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.4552, allocations: 23.27 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.4553, allocations: 39.02 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4554, allocations: 55.09 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4554, allocations: 0 / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.4556, allocations: 112.4 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4556, allocations: 8.562 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4557, allocations: 5.094 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4557, allocations: 1.188 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.4558, allocations: 16.55 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4558, allocations: 5.188 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.4558, allocations: 6.25 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4559, allocations: 3.406 kB / 0.5363 GB, free: 8.559 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 (10): * Single equations (assignments): 10 * 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.0001036/0.456, allocations: 125.9 kB / 0.5364 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.456, allocations: 18.3 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.456, allocations: 14.53 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4561, allocations: 0.875 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.4561, allocations: 3.984 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4561, allocations: 5.094 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.4565, allocations: 402.5 kB / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4565, allocations: 0 / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.4566, allocations: 8.969 kB / 0.5368 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4566, allocations: 3.938 kB / 0.5368 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.4566, allocations: 10.53 kB / 0.5368 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4566, allocations: 1.375 kB / 0.5368 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4566, allocations: 0 / 0.5368 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4569, allocations: 200.3 kB / 0.537 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.4569, allocations: 93.08 kB / 0.5371 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.457, allocations: 9.312 kB / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.457, allocations: 1.375 kB / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4571, allocations: 8.109 kB / 0.5371 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.4571, allocations: 2.75 kB / 0.5371 GB, free: 7.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.4572, allocations: 148.5 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4573, allocations: 5.25 kB / 0.5373 GB, free: 7.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.4575, allocations: 23.75 kB / 0.5373 GB, free: 7.59 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001528/0.4591, allocations: 1.095 MB / 0.5384 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4593, allocations: 53.53 kB / 0.5384 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4593, allocations: 0 / 0.5384 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.4594, allocations: 34.2 kB / 0.5384 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4598, allocations: 25.05 kB / 0.5385 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.4616, allocations: 1.655 MB / 0.5401 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4619, allocations: 0.706 MB / 0.5408 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.462, allocations: 14.14 kB / 0.5408 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.4621, allocations: 39.41 kB / 0.5408 GB, free: 4.488 MB / 398.1 MB Notification: Performance of SimCode: time 3.546e-06/0.4621, allocations: 0 / 0.5408 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4845, allocations: 3.449 MB / 0.5442 GB, free: 2.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.04, allocations: 9.266 kB / 0.5442 GB, free: 2.621 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches