Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4556, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003195/0.4589, allocations: 1.726 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.4605, allocations: 1.014 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.4606, allocations: 7.938 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.4609, allocations: 37.73 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.4612, allocations: 93.84 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.4614, allocations: 75.28 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4616, allocations: 106.9 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.4617, allocations: 13.92 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.4618, allocations: 43.7 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.4619, allocations: 37.62 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.4619, allocations: 4.906 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.462, allocations: 38.92 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.462, allocations: 25.75 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.4621, allocations: 35.59 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4623, allocations: 119.2 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4623, allocations: 1.375 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4623, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4624, allocations: 0 / 0.5339 GB, free: 10.86 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.0005253/0.4629, allocations: 418.2 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4629, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.463, allocations: 36.11 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.463, allocations: 9.016 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.4633, allocations: 203.3 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4633, allocations: 5.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.4634, allocations: 6.688 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4635, allocations: 54.05 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4635, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4635, allocations: 5.375 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4635, allocations: 0 / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.4636, allocations: 18.98 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.464, allocations: 297.3 kB / 0.5349 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.4642, allocations: 53.94 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.4642, allocations: 25.09 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4642, allocations: 1.375 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.4644, allocations: 69.08 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4644, allocations: 0 / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000523/0.4649, allocations: 166.8 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.465, allocations: 55.34 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4652, allocations: 178.1 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4652, allocations: 29.7 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.4652, allocations: 100.2 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.4653, allocations: 23.91 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.4653, allocations: 24.59 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4655, allocations: 321.6 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.4655, allocations: 27.05 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.4656, allocations: 47.33 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.4657, allocations: 59.77 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4657, allocations: 0 / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.4659, allocations: 103.5 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4659, allocations: 4.844 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4659, allocations: 1.156 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4659, allocations: 1.062 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.466, allocations: 20.17 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4661, allocations: 5.438 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4661, allocations: 6.938 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4661, allocations: 1.531 kB / 0.5362 GB, free: 8.676 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 9.939e-05/0.4662, allocations: 122.8 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4663, allocations: 13.81 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.4663, allocations: 12.88 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4663, allocations: 1.125 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4663, allocations: 0 / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4663, allocations: 4.938 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.4668, allocations: 400.1 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4668, allocations: 1.188 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.4668, allocations: 10.73 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4668, allocations: 5.062 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4669, allocations: 1.406 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4669, allocations: 1.312 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4669, allocations: 5.219 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.4671, allocations: 200.3 kB / 0.5369 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.4672, allocations: 91.38 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.4672, allocations: 10.27 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.4673, allocations: 5.156 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.4673, allocations: 3.469 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4674, allocations: 7.422 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4675, allocations: 133.2 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4675, allocations: 0 / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4677, allocations: 25.56 kB / 0.5372 GB, free: 7.73 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.001483/0.4692, allocations: 1.099 MB / 0.5383 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.4694, allocations: 53.95 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4694, allocations: 0 / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.4695, allocations: 29.8 kB / 0.5383 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4699, allocations: 37.34 kB / 0.5384 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4716, allocations: 1.591 MB / 0.5399 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.4719, allocations: 0.6999 MB / 0.5406 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.4719, allocations: 21.41 kB / 0.5406 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.472, allocations: 39.92 kB / 0.5407 GB, free: 4.645 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.472, allocations: 0 / 0.5407 GB, free: 4.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.495, allocations: 3.312 MB / 0.5439 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.089, allocations: 13.34 kB / 0.5439 GB, free: 2.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_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_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches