Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",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.001703/0.001702, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.002096/0.002096, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2048/0.2048, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3596, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00423/0.3639, allocations: 3.526 MB / 0.5219 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3666, allocations: 1.385 MB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.3671, allocations: 23.19 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.3675, allocations: 121 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.3682, allocations: 169.7 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3696, allocations: 0.5885 MB / 0.5241 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.371, allocations: 0.9386 MB / 0.525 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005607/0.3716, allocations: 299.8 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.3723, allocations: 374.8 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.3728, allocations: 367.9 kB / 0.526 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.373, allocations: 72.31 kB / 0.5261 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3731, allocations: 73.06 kB / 0.5261 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.3733, allocations: 171.5 kB / 0.5263 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.3737, allocations: 364.9 kB / 0.5267 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3748, allocations: 0.8437 MB / 0.5275 GB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3748, allocations: 1.375 kB / 0.5275 GB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3748, allocations: 0 / 0.5275 GB, free: 13.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.3748, allocations: 0 / 0.5275 GB, free: 13.25 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002432/0.3773, allocations: 1.214 MB / 0.5287 GB, free: 12.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.3773, allocations: 13.06 kB / 0.5287 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3774, allocations: 86.55 kB / 0.5288 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.3776, allocations: 98.3 kB / 0.5289 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3787, allocations: 0.5977 MB / 0.5294 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.3788, allocations: 38.78 kB / 0.5295 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/0.3789, allocations: 52.83 kB / 0.5295 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.3805, allocations: 0.7031 MB / 0.5302 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.3805, allocations: 5.547 kB / 0.5302 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.3806, allocations: 21.19 kB / 0.5302 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.3806, allocations: 12.38 kB / 0.5302 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.3821, allocations: 0.5612 MB / 0.5308 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.3859, allocations: 2.277 MB / 0.533 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.3878, allocations: 0.7185 MB / 0.5337 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.3886, allocations: 329.2 kB / 0.534 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.3887, allocations: 14.11 kB / 0.534 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3888, allocations: 38.81 kB / 0.5341 GB, free: 8.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.3888, allocations: 0 / 0.5341 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004949/0.3937, allocations: 1.934 MB / 0.536 GB, free: 7.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3939, allocations: 193.7 kB / 0.5362 GB, free: 7.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.3948, allocations: 0.5674 MB / 0.5367 GB, free: 6.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.3948, allocations: 40.42 kB / 0.5367 GB, free: 6.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.3951, allocations: 354 kB / 0.5371 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.3954, allocations: 187.2 kB / 0.5373 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.3956, allocations: 107.5 kB / 0.5374 GB, free: 6.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3958, allocations: 378.9 kB / 0.5377 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/0.3967, allocations: 305.6 kB / 0.538 GB, free: 5.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.3976, allocations: 416 kB / 0.5384 GB, free: 5.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.3994, allocations: 0.6526 MB / 0.5391 GB, free: 4.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3994, allocations: 0 / 0.5391 GB, free: 4.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002267/0.4017, allocations: 0.7949 MB / 0.5398 GB, free: 4.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4017, allocations: 6.031 kB / 0.5398 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4017, allocations: 6.5 kB / 0.5398 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4018, allocations: 12.66 kB / 0.5399 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.4027, allocations: 193.7 kB / 0.54 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4027, allocations: 3.5 kB / 0.54 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.4033, allocations: 82.5 kB / 0.5401 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.4034, allocations: 22.2 kB / 0.5401 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000796/0.4042, allocations: 363.8 kB / 0.5405 GB, free: 4.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007815/0.405, allocations: 351.4 kB / 0.5408 GB, free: 4.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/0.4063, allocations: 0.5392 MB / 0.5414 GB, free: 3.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/0.4063, allocations: 1.25 kB / 0.5414 GB, free: 3.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00169/0.408, allocations: 0.6682 MB / 0.542 GB, free: 3.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.408, allocations: 8 kB / 0.542 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4081, allocations: 4 kB / 0.542 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.4081, allocations: 4 kB / 0.542 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.4087, allocations: 171.9 kB / 0.5422 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4088, allocations: 4 kB / 0.5422 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.4093, allocations: 63.88 kB / 0.5422 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.4094, allocations: 20 kB / 0.5423 GB, free: 3.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002763/0.4097, allocations: 212.1 kB / 0.5425 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.4098, allocations: 75.53 kB / 0.5425 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.4101, allocations: 87.2 kB / 0.5426 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4101, allocations: 8 kB / 0.5426 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.4101, allocations: 0 / 0.5426 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.4101, allocations: 0 / 0.5426 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.4131, allocations: 1.445 MB / 0.544 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4131, allocations: 4.062 kB / 0.544 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.4138, allocations: 147.8 kB / 0.5442 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.4139, allocations: 4 kB / 0.5442 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.4139, allocations: 15.98 kB / 0.5442 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.4139, allocations: 4 kB / 0.5442 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.414, allocations: 11.94 kB / 0.5442 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.417, allocations: 1.265 MB / 0.5455 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.4174, allocations: 188.6 kB / 0.5456 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4176, allocations: 8 kB / 0.5456 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.4183, allocations: 83.91 kB / 0.5457 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.4184, allocations: 39.89 kB / 0.5458 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.4185, allocations: 19.98 kB / 0.5458 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005726/0.419, allocations: 399.1 kB / 0.5462 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4191, allocations: 0 / 0.5462 GB, free: 14.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008435/0.4199, allocations: 180 kB / 0.5463 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.003284/0.4232, allocations: 1.805 MB / 0.5481 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.4259, allocations: 0.989 MB / 0.5491 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.426, allocations: 0 / 0.5491 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.4269, allocations: 352 kB / 0.5494 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4282, allocations: 215.7 kB / 0.5496 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.441, allocations: 6.282 MB / 0.5557 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.4416, allocations: 0.9218 MB / 0.5566 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.4421, allocations: 96.78 kB / 0.5567 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.4426, allocations: 275.3 kB / 0.557 GB, free: 3.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.734e-06/0.4426, allocations: 0 / 0.557 GB, free: 3.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.484, allocations: 15.41 MB / 0.572 GB, free: 4.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.149/9.633, allocations: 14.22 kB / 0.5721 GB, free: 4.406 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_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_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches