Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 79.2 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00475/0.1113, allocations: 3.547 MB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1139, allocations: 1.473 MB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.1144, allocations: 27.81 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.1148, allocations: 114.8 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.1153, allocations: 150.6 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1166, allocations: 0.6376 MB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009691/0.1176, allocations: 0.9211 MB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.1181, allocations: 304.8 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.1186, allocations: 370.4 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1191, allocations: 358.1 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.1193, allocations: 72 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1194, allocations: 80 kB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1196, allocations: 175.3 kB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.1199, allocations: 369.7 kB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008077/0.1207, allocations: 0.8019 MB / 489.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1207, allocations: 0 / 489.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1208, allocations: 8 kB / 489.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.1208, allocations: 0 / 489.5 MB, free: 11.77 MB / 366.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.002245/0.123, allocations: 1.195 MB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1231, allocations: 15.97 kB / 490.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.1232, allocations: 90.7 kB / 490.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.1238, allocations: 135.8 kB / 490.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.1245, allocations: 0.5699 MB / 491.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.1245, allocations: 45.38 kB / 491.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.1246, allocations: 48.38 kB / 491.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.126, allocations: 0.7206 MB / 492.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.126, allocations: 4 kB / 492.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.1261, allocations: 20 kB / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1261, allocations: 12 kB / 492.3 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.1276, allocations: 0.5581 MB / 492.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.1306, allocations: 2.298 MB / 495.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.1324, allocations: 0.7176 MB / 495.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.1332, allocations: 326.2 kB / 496.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.1333, allocations: 8.375 kB / 496.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1333, allocations: 42.94 kB / 496.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.345e-06/0.1333, allocations: 0 / 496.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004674/0.138, allocations: 1.926 MB / 498.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.1381, allocations: 239.8 kB / 498.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.1387, allocations: 0.5747 MB / 499 MB, free: 1.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.1388, allocations: 37.7 kB / 499 MB, free: 1.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.1391, allocations: 364.8 kB / 499.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1392, allocations: 177.4 kB / 499.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.1394, allocations: 110.2 kB / 499.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1395, allocations: 326 kB / 0.4883 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008394/0.1403, allocations: 302.9 kB / 0.4886 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009004/0.1412, allocations: 427.7 kB / 0.489 GB, free: 36 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.1429, allocations: 0.6512 MB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1429, allocations: 4.062 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001887/0.1448, allocations: 0.8023 MB / 0.4904 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1449, allocations: 8 kB / 0.4904 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1449, allocations: 0 / 0.4904 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1449, allocations: 16.11 kB / 0.4904 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.1458, allocations: 191.9 kB / 0.4906 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.1458, allocations: 4 kB / 0.4906 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.1464, allocations: 79.91 kB / 0.4907 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.1464, allocations: 23.98 kB / 0.4907 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007329/0.1472, allocations: 361.1 kB / 0.4911 GB, free: 13.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006405/0.1478, allocations: 369.3 kB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001172/0.149, allocations: 0.5437 MB / 0.4919 GB, free: 12.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.149, allocations: 0 / 0.4919 GB, free: 12.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00144/0.1504, allocations: 0.655 MB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1505, allocations: 10.81 kB / 0.4926 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1505, allocations: 4 kB / 0.4926 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.1505, allocations: 4 kB / 0.4926 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.1512, allocations: 167.7 kB / 0.4928 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1512, allocations: 8 kB / 0.4928 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.1517, allocations: 63.94 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1518, allocations: 16 kB / 0.4928 GB, free: 11.94 MB / 382.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.0001828/0.1519, allocations: 216.1 kB / 0.493 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1521, allocations: 75.06 kB / 0.4931 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1523, allocations: 91.36 kB / 0.4932 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1523, allocations: 4 kB / 0.4932 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1523, allocations: 4 kB / 0.4932 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1523, allocations: 3.984 kB / 0.4932 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.155, allocations: 1.456 MB / 0.4946 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.155, allocations: 0 / 0.4946 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.1557, allocations: 151.8 kB / 0.4948 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1557, allocations: 4 kB / 0.4948 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.1558, allocations: 15.98 kB / 0.4948 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1558, allocations: 4 kB / 0.4948 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1558, allocations: 0 / 0.4948 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.1584, allocations: 1.256 MB / 0.496 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.1586, allocations: 188.2 kB / 0.4962 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.1587, allocations: 12 kB / 0.4962 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.1593, allocations: 79.91 kB / 0.4963 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1594, allocations: 43.94 kB / 0.4963 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.1595, allocations: 23.98 kB / 0.4964 GB, free: 8.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004091/0.1599, allocations: 403.1 kB / 0.4967 GB, free: 7.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1599, allocations: 0 / 0.4967 GB, free: 7.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006519/0.1606, allocations: 176 kB / 0.4969 GB, free: 7.652 MB / 382.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.002985/0.1636, allocations: 1.808 MB / 0.4987 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.1662, allocations: 1.005 MB / 0.4997 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1662, allocations: 0 / 0.4997 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008942/0.1671, allocations: 360 kB / 0.5 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.1682, allocations: 201.3 kB / 0.5002 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1765/0.3447, allocations: 6.363 MB / 0.5064 GB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3451, allocations: 0.9235 MB / 0.5073 GB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.3456, allocations: 101.5 kB / 0.5074 GB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.346, allocations: 280.7 kB / 0.5077 GB, free: 40.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.346, allocations: 3.906 kB / 0.5077 GB, free: 40.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.3828, allocations: 15.27 MB / 0.5226 GB, free: 35.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.222, allocations: 2.391 kB / 0.5226 GB, free: 35.5 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches