Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 117.6 kB / 17.78 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.001235/0.001235, allocations: 200.7 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.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 72.16 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3966, allocations: 62.45 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003295/0.4, allocations: 1.685 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4015, allocations: 0.6535 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.4016, allocations: 7.656 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.4017, allocations: 15.8 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.4019, allocations: 18.03 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.4024, allocations: 152.2 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4026, allocations: 161.6 kB / 0.5331 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4028, allocations: 36.41 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.403, allocations: 75.25 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.4031, allocations: 65.44 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.4031, allocations: 17.75 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.4032, allocations: 15.12 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.4033, allocations: 37.39 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.4033, allocations: 52.11 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.4036, allocations: 142.7 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4036, allocations: 0 / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4036, allocations: 0 / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4036, allocations: 1.375 kB / 0.5336 GB, free: 11.03 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007858/0.4044, allocations: 468.5 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4044, allocations: 9.469 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.4045, allocations: 38.78 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.4047, allocations: 25.86 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.4051, allocations: 223.4 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4051, allocations: 11.28 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.4052, allocations: 10.12 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.4056, allocations: 180.8 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4056, allocations: 1.5 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.4057, allocations: 5.219 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4057, allocations: 1.375 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.4061, allocations: 123 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.407, allocations: 457 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.4077, allocations: 189.5 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.4079, allocations: 75.31 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4079, allocations: 1.281 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.408, allocations: 44.59 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.408, allocations: 0 / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001599/0.4096, allocations: 0.5617 MB / 0.5359 GB, free: 9.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.4097, allocations: 109.3 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.4099, allocations: 166 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4099, allocations: 26.83 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.41, allocations: 110.5 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.41, allocations: 35 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.4101, allocations: 30.33 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4102, allocations: 322.1 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.4105, allocations: 79.3 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.4108, allocations: 94.22 kB / 0.5368 GB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.4113, allocations: 136.8 kB / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.4113, allocations: 0 / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005276/0.4119, allocations: 189.8 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4119, allocations: 5.5 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4119, allocations: 0 / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.4119, allocations: 5.062 kB / 0.5371 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4121, allocations: 44.77 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4121, allocations: 1.188 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.4123, allocations: 29.47 kB / 0.5372 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4123, allocations: 2.219 kB / 0.5372 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001598/0.4125, allocations: 121.6 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001238/0.4126, allocations: 57.95 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001886/0.4128, allocations: 76.75 kB / 0.5375 GB, free: 7.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.4128, allocations: 3.938 kB / 0.5375 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002723/0.4131, allocations: 118.8 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4131, allocations: 5.469 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-06/0.4131, allocations: 0 / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/0.4131, allocations: 1.594 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4132, allocations: 28.86 kB / 0.5376 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4133, allocations: 3.938 kB / 0.5376 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.974e-05/0.4134, allocations: 16.33 kB / 0.5376 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4134, allocations: 6.469 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001177/0.4135, allocations: 183.1 kB / 0.5378 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.4136, allocations: 22.39 kB / 0.5378 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.4136, allocations: 13.03 kB / 0.5378 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4136, allocations: 5.844 kB / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4137, allocations: 0 / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4137, allocations: 4 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.4147, allocations: 0.5057 MB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4147, allocations: 5 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4149, allocations: 36.59 kB / 0.5384 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4149, allocations: 1.344 kB / 0.5384 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4149, allocations: 9.141 kB / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4149, allocations: 1.344 kB / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4149, allocations: 0 / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.4158, allocations: 364.7 kB / 0.5387 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.4158, allocations: 92.39 kB / 0.5388 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4159, allocations: 1 kB / 0.5388 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.4161, allocations: 39.77 kB / 0.5389 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.4162, allocations: 3.125 kB / 0.5389 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4162, allocations: 11.58 kB / 0.5389 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.4163, allocations: 128.1 kB / 0.539 GB, free: 6.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 0 / 0.539 GB, free: 6.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.4166, allocations: 33.19 kB / 0.539 GB, free: 6.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001074/0.4177, allocations: 0.8869 MB / 0.5399 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.4184, allocations: 194.5 kB / 0.5401 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4184, allocations: 1.688 kB / 0.5401 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.4186, allocations: 77.05 kB / 0.5402 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.4191, allocations: 37.16 kB / 0.5402 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.4223, allocations: 1.943 MB / 0.5421 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.4228, allocations: 0.707 MB / 0.5428 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4229, allocations: 20.8 kB / 0.5428 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.423, allocations: 48.2 kB / 0.5429 GB, free: 3.297 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.423, allocations: 0 / 0.5429 GB, free: 3.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.4489, allocations: 3.845 MB / 0.5466 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.903, allocations: 4.828 kB / 0.5466 GB, free: 0.7812 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches