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.001753/0.001753, allocations: 117.6 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.002098/0.002098, allocations: 199.9 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003452/0.003452, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3826, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.004342/0.387, allocations: 1.69 MB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3889, allocations: 0.657 MB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.3891, allocations: 5.781 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.3892, allocations: 7.875 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3894, allocations: 29.53 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.3901, allocations: 140.1 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.3905, allocations: 163.5 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3908, allocations: 39.17 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.391, allocations: 71 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3912, allocations: 69.42 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.3913, allocations: 13.75 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.3914, allocations: 15.12 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.3915, allocations: 35.97 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3916, allocations: 61.45 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3919, allocations: 138.8 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3919, allocations: 0 / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3919, allocations: 4 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.3919, allocations: 0 / 0.5336 GB, free: 10.98 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.0008951/0.3928, allocations: 473.8 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3929, allocations: 9.625 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.3929, allocations: 41.48 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3931, allocations: 26.58 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3935, allocations: 226.5 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3935, allocations: 8.438 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3936, allocations: 9.875 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.3941, allocations: 175.9 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3941, allocations: 1.594 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3941, allocations: 5.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.3941, allocations: 1.656 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.3946, allocations: 128.3 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3956, allocations: 454 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.3963, allocations: 196.5 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.3965, allocations: 71.77 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3966, allocations: 2.281 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3966, allocations: 39.72 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3966, allocations: 0 / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001617/0.3982, allocations: 0.5744 MB / 0.536 GB, free: 9.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.3983, allocations: 112.2 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3985, allocations: 157.9 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3986, allocations: 32.64 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.3986, allocations: 104.2 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.3987, allocations: 32.3 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.3988, allocations: 30.52 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3989, allocations: 321.1 kB / 0.5367 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.3992, allocations: 71.48 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.3995, allocations: 98.16 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.4, allocations: 142 kB / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4, allocations: 0 / 0.537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005418/0.4005, allocations: 189.5 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4005, allocations: 4.438 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4006, allocations: 1.281 kB / 0.5372 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4006, allocations: 3.938 kB / 0.5372 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.4008, allocations: 45.81 kB / 0.5373 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4008, allocations: 0 / 0.5373 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.401, allocations: 22.75 kB / 0.5373 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.401, allocations: 2.344 kB / 0.5373 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001779/0.4012, allocations: 121.3 kB / 0.5374 GB, free: 7.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001301/0.4013, allocations: 58.27 kB / 0.5375 GB, free: 7.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002123/0.4015, allocations: 79.38 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.4015, allocations: 1.469 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002912/0.4018, allocations: 122 kB / 0.5377 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4018, allocations: 5.781 kB / 0.5377 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.4019, allocations: 4.031 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/0.4019, allocations: 1.219 kB / 0.5377 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.402, allocations: 24.72 kB / 0.5377 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.402, allocations: 5.188 kB / 0.5377 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4021, allocations: 15.52 kB / 0.5377 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.4021, allocations: 2 kB / 0.5377 GB, free: 7.652 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.0001518/0.4023, allocations: 187.3 kB / 0.5379 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4023, allocations: 15.09 kB / 0.5379 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.4024, allocations: 17 kB / 0.5379 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4024, allocations: 5.125 kB / 0.5379 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4024, allocations: 0 / 0.5379 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.4024, allocations: 3.984 kB / 0.5379 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4035, allocations: 0.5135 MB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.4035, allocations: 1.344 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4037, allocations: 40.83 kB / 0.5385 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.4037, allocations: 3.984 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4038, allocations: 2.406 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4038, allocations: 0 / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4038, allocations: 5.156 kB / 0.5385 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.4046, allocations: 367.8 kB / 0.5388 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.4047, allocations: 84.5 kB / 0.5389 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4047, allocations: 5.125 kB / 0.5389 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.405, allocations: 39.7 kB / 0.539 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.4051, allocations: 11.77 kB / 0.539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4051, allocations: 2.906 kB / 0.539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.4052, allocations: 124 kB / 0.5391 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4052, allocations: 0 / 0.5391 GB, free: 6.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.4055, allocations: 32.97 kB / 0.5391 GB, free: 6.477 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.001137/0.4067, allocations: 0.8995 MB / 0.54 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.4073, allocations: 190.3 kB / 0.5402 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4074, allocations: 1.219 kB / 0.5402 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.4076, allocations: 80.73 kB / 0.5403 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.408, allocations: 32.38 kB / 0.5403 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.4112, allocations: 1.937 MB / 0.5422 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.4116, allocations: 0.7037 MB / 0.5429 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.4117, allocations: 20.59 kB / 0.5429 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.4118, allocations: 39.2 kB / 0.5429 GB, free: 3.258 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4118, allocations: 0 / 0.5429 GB, free: 3.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.439, allocations: 3.849 MB / 0.5467 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.3, allocations: 13.14 kB / 0.5467 GB, free: 0.707 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