Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001832, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 198 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.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.383, allocations: 62.44 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003194/0.3862, allocations: 1.737 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.388, allocations: 1.018 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.3881, allocations: 5.531 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.3885, allocations: 46.78 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.3888, allocations: 101.2 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.389, allocations: 80 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3892, allocations: 105.3 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.3893, allocations: 11.17 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3894, allocations: 43.88 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.3895, allocations: 33.91 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3895, allocations: 4.125 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.3896, allocations: 43.42 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3897, allocations: 29.53 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3898, allocations: 35.94 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.39, allocations: 134 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.39, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.39, allocations: 0 / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.39, allocations: 3.938 kB / 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.0005566/0.3906, allocations: 436.9 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3906, allocations: 9.625 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.3907, allocations: 32.12 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.3907, allocations: 10.39 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.391, allocations: 231.6 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.391, allocations: 1.75 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.391, allocations: 5.312 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3912, allocations: 55.42 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3912, allocations: 0 / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3912, allocations: 3.984 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3912, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.3913, allocations: 21.61 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3917, allocations: 297.5 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3918, allocations: 57.92 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.3919, allocations: 18.48 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3919, allocations: 0 / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3921, allocations: 74.45 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3921, allocations: 0 / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.3926, allocations: 180 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3927, allocations: 55.34 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3929, allocations: 243.4 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3929, allocations: 34.73 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.393, allocations: 110.9 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.393, allocations: 23.44 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.393, allocations: 24.91 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3932, allocations: 330.8 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-05/0.3932, allocations: 19.16 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.3933, allocations: 34.98 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3934, allocations: 63.48 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3934, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.3936, allocations: 105.4 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3936, allocations: 4.688 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3936, allocations: 1.156 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3937, allocations: 5.234 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.3938, allocations: 16.25 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3938, allocations: 1.062 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3938, allocations: 10.03 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3938, allocations: 3.219 kB / 0.5363 GB, free: 8.605 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.0001046/0.3939, allocations: 140.6 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.394, allocations: 13.47 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.394, allocations: 19.73 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.394, allocations: 1.062 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3941, allocations: 1.188 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3941, allocations: 3.938 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.3945, allocations: 406.2 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3945, allocations: 0 / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.3945, allocations: 8.062 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3945, allocations: 9 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3946, allocations: 1.125 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3946, allocations: 9.172 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3946, allocations: 1.125 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3948, allocations: 204.7 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3949, allocations: 88.64 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3949, allocations: 13.34 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.395, allocations: 2.281 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.395, allocations: 11.95 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.395, allocations: 3.938 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3952, allocations: 173.1 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 0 / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.3954, allocations: 25.41 kB / 0.5374 GB, free: 7.617 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.001386/0.3968, allocations: 1.098 MB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.397, allocations: 53.86 kB / 0.5386 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.397, allocations: 3.938 kB / 0.5386 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.3971, allocations: 33.34 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3975, allocations: 38.81 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3992, allocations: 1.751 MB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3995, allocations: 0.7056 MB / 0.541 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3996, allocations: 13.62 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.3997, allocations: 39.42 kB / 0.5411 GB, free: 4.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3997, allocations: 0.8125 kB / 0.5411 GB, free: 4.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.4209, allocations: 3.611 MB / 0.5446 GB, free: 2.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.89, allocations: 10.08 kB / 0.5446 GB, free: 2.52 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_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_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches