Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 112.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 184.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.238/0.238, allocations: 44.2 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002509/0.3715, allocations: 1.668 MB / 0.52 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.3725, allocations: 0.601 MB / 0.5206 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.3726, allocations: 10.56 kB / 0.5206 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.3727, allocations: 10.17 kB / 0.5207 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3728, allocations: 24.81 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.3732, allocations: 130.1 kB / 0.5208 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3735, allocations: 154.6 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3736, allocations: 30.89 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3737, allocations: 74.92 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3739, allocations: 58.52 kB / 0.5211 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.3739, allocations: 12.81 kB / 0.5211 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.3739, allocations: 14.06 kB / 0.5211 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.374, allocations: 39.42 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.374, allocations: 59.88 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.3742, allocations: 130.7 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3742, allocations: 7.938 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3743, allocations: 0 / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3743, allocations: 1.219 kB / 0.5214 GB, free: 1.312 MB / 382.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.0006237/0.3749, allocations: 458.1 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3749, allocations: 9.844 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.375, allocations: 40.19 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.375, allocations: 12.36 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3753, allocations: 225.9 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3753, allocations: 7.562 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3754, allocations: 14.23 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.3758, allocations: 180 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3758, allocations: 1.375 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3759, allocations: 5.031 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3759, allocations: 1.562 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.3763, allocations: 118.1 kB / 0.5224 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.3771, allocations: 457 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.3778, allocations: 192.7 kB / 0.523 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.378, allocations: 76.77 kB / 0.5231 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.3781, allocations: 5.969 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3781, allocations: 33.09 kB / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.3781, allocations: 0 / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001788/0.3799, allocations: 0.5702 MB / 0.5237 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.38, allocations: 108.7 kB / 0.5238 GB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3802, allocations: 162.1 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3802, allocations: 25.7 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.3803, allocations: 113.4 kB / 0.5241 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3804, allocations: 29.92 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3804, allocations: 29.95 kB / 0.5241 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3806, allocations: 325.8 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.3808, allocations: 78.91 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3811, allocations: 93.77 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.3816, allocations: 138.9 kB / 0.5247 GB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3816, allocations: 4.031 kB / 0.5247 GB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005599/0.3822, allocations: 190.5 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3822, allocations: 9.344 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3822, allocations: 0.8438 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3822, allocations: 0 / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3825, allocations: 38.78 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3825, allocations: 1.828 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3826, allocations: 20.78 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3826, allocations: 4.359 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001799/0.3828, allocations: 120.3 kB / 0.5251 GB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001289/0.383, allocations: 61.83 kB / 0.5252 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001941/0.3832, allocations: 79.06 kB / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.3832, allocations: 0 / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002775/0.3835, allocations: 116.2 kB / 0.5253 GB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3835, allocations: 5.781 kB / 0.5254 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.3835, allocations: 6.094 kB / 0.5254 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.3835, allocations: 3.938 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.3836, allocations: 24.45 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.3836, allocations: 2.312 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.805e-05/0.3837, allocations: 11.8 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3837, allocations: 1.125 kB / 0.5254 GB, free: 14.53 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.0001501/0.3839, allocations: 184.1 kB / 0.5256 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3839, allocations: 22.81 kB / 0.5256 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.384, allocations: 14.8 kB / 0.5256 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.384, allocations: 0 / 0.5256 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.384, allocations: 1.125 kB / 0.5256 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.384, allocations: 0.7031 kB / 0.5256 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3851, allocations: 0.5121 MB / 0.5261 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3851, allocations: 1.375 kB / 0.5261 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.3853, allocations: 37.89 kB / 0.5261 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3853, allocations: 2.266 kB / 0.5262 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3853, allocations: 1.375 kB / 0.5262 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3853, allocations: 4.875 kB / 0.5262 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3853, allocations: 5.688 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.3862, allocations: 364.7 kB / 0.5265 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3862, allocations: 85.94 kB / 0.5266 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3863, allocations: 9.938 kB / 0.5266 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.3866, allocations: 39.62 kB / 0.5266 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.3866, allocations: 10.94 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3866, allocations: 4.109 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3868, allocations: 117 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3868, allocations: 0 / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3871, allocations: 32.88 kB / 0.5268 GB, free: 13.53 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.001134/0.3882, allocations: 0.9002 MB / 0.5277 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.3889, allocations: 191.3 kB / 0.5279 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3889, allocations: 5.375 kB / 0.5279 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.3892, allocations: 76.89 kB / 0.5279 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3896, allocations: 43.33 kB / 0.528 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.393, allocations: 1.928 MB / 0.5299 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.3935, allocations: 0.7077 MB / 0.5306 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.3937, allocations: 16.69 kB / 0.5306 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.3938, allocations: 39.39 kB / 0.5306 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3938, allocations: 0 / 0.5306 GB, free: 10.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.424, allocations: 3.827 MB / 0.5343 GB, free: 8.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.229, allocations: 13.39 kB / 0.5344 GB, free: 8.363 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches