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.001533/0.001533, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001762/0.001762, allocations: 183 kB / 18.72 MB, free: 4.332 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2138/0.2138, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.314, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002584/0.3167, allocations: 1.672 MB / 0.52 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3177, allocations: 0.5975 MB / 0.5206 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3179, allocations: 6.281 kB / 0.5206 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.3179, allocations: 9.375 kB / 0.5206 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.3181, allocations: 25.05 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3186, allocations: 139.4 kB / 0.5208 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.3188, allocations: 154.6 kB / 0.5209 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3189, allocations: 30.59 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3191, allocations: 72.28 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3192, allocations: 61.28 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.3192, allocations: 17.12 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.402e-05/0.3193, allocations: 13.47 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.3193, allocations: 35.41 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.3194, allocations: 64.02 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3196, allocations: 130.8 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3196, allocations: 3.938 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3196, allocations: 0 / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3196, allocations: 1.312 kB / 0.5214 GB, free: 1.309 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.0006164/0.3202, allocations: 458.4 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3203, allocations: 9.266 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3203, allocations: 39.92 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3204, allocations: 12.55 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.3207, allocations: 232.8 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3207, allocations: 3.625 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3207, allocations: 17.58 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.3212, allocations: 172.8 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3212, allocations: 4.734 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.3212, allocations: 6.188 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3212, allocations: 2.094 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3217, allocations: 124.7 kB / 0.5224 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.3225, allocations: 449.7 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.3231, allocations: 201.3 kB / 0.523 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.3233, allocations: 67.86 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3234, allocations: 1.594 kB / 0.5231 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3234, allocations: 41.42 kB / 0.5231 GB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.3234, allocations: 0 / 0.5231 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001594/0.325, allocations: 0.5699 MB / 0.5237 GB, free: 15.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.3251, allocations: 105.2 kB / 0.5238 GB, free: 15.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3253, allocations: 160.8 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.3253, allocations: 31.3 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3254, allocations: 104.9 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.3254, allocations: 33.5 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.3255, allocations: 32.16 kB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3256, allocations: 320.8 kB / 0.5244 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.3259, allocations: 79.52 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.3262, allocations: 96.06 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3266, allocations: 142.7 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3266, allocations: 0 / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005429/0.3272, allocations: 191 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3272, allocations: 9.031 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3272, allocations: 0.6562 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3272, allocations: 0.9375 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3274, allocations: 35.27 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3275, allocations: 1.281 kB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3276, allocations: 29.64 kB / 0.525 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3276, allocations: 1.984 kB / 0.525 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001634/0.3278, allocations: 117.5 kB / 0.5251 GB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001235/0.3279, allocations: 62.39 kB / 0.5252 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002041/0.3282, allocations: 78.47 kB / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3282, allocations: 0 / 0.5252 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002831/0.3285, allocations: 120.1 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.3285, allocations: 6.859 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3285, allocations: 3.938 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.3285, allocations: 0 / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3286, allocations: 22.81 kB / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.3286, allocations: 0 / 0.5254 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3287, allocations: 20.02 kB / 0.5254 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3288, allocations: 7 kB / 0.5254 GB, free: 14.52 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.0001251/0.3289, allocations: 183.8 kB / 0.5256 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.3289, allocations: 19.11 kB / 0.5256 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.329, allocations: 17.86 kB / 0.5256 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.329, allocations: 0.6562 kB / 0.5256 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.329, allocations: 1.781 kB / 0.5256 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.329, allocations: 1.125 kB / 0.5256 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3301, allocations: 0.5068 MB / 0.5261 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3301, allocations: 1.375 kB / 0.5261 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.3303, allocations: 38.62 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3303, allocations: 1.375 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3303, allocations: 1.375 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3303, allocations: 5.312 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3304, allocations: 0.7031 kB / 0.5262 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.3312, allocations: 366.2 kB / 0.5265 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.3313, allocations: 84.66 kB / 0.5266 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3313, allocations: 6 kB / 0.5266 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.3316, allocations: 39.8 kB / 0.5266 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3317, allocations: 14.95 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3317, allocations: 4.109 kB / 0.5267 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.3318, allocations: 120.9 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3318, allocations: 5.375 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.3322, allocations: 32.88 kB / 0.5268 GB, free: 13.52 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.00107/0.3332, allocations: 0.894 MB / 0.5277 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006535/0.3339, allocations: 195.2 kB / 0.5279 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3339, allocations: 0 / 0.5279 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.3342, allocations: 78.06 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.0004146/0.3346, allocations: 37.12 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.002743/0.3373, allocations: 1.921 MB / 0.5299 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3376, allocations: 0.7032 MB / 0.5305 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3378, allocations: 20.92 kB / 0.5306 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.3379, allocations: 43.27 kB / 0.5306 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3379, allocations: 0 / 0.5306 GB, free: 10.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.3589, allocations: 3.832 MB / 0.5343 GB, free: 8.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.299, allocations: 17.42 kB / 0.5344 GB, free: 8.352 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