Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",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.001348/0.001348, allocations: 104.7 kB / 16.4 MB, free: 6.449 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.001385/0.001385, allocations: 191.8 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3188/0.3188, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 66.05 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1149, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001613/0.1165, allocations: 490.8 kB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.1197, allocations: 2.046 MB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.1198, allocations: 0 / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1198, allocations: 0 / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.164e-05/0.1199, allocations: 0 / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.121, allocations: 390.7 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.121, allocations: 0 / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.1211, allocations: 0 / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.1211, allocations: 4 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02016/0.1413, allocations: 3.36 MB / 0.4935 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1413, allocations: 0 / 0.4935 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1414, allocations: 7.984 kB / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1414, allocations: 0 / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1415, allocations: 0 / 0.4935 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1416, allocations: 11.98 kB / 0.4935 GB, free: 6.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1417, allocations: 0 / 0.4935 GB, free: 6.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1417, allocations: 0 / 0.4935 GB, free: 6.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1417, allocations: 4 kB / 0.4935 GB, free: 6.055 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003939/0.1421, allocations: 315.5 kB / 0.4938 GB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1421, allocations: 15.89 kB / 0.4938 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.1422, allocations: 114 kB / 0.4939 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1425, allocations: 88.16 kB / 0.494 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1426, allocations: 243.7 kB / 0.4943 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.1427, allocations: 150.9 kB / 0.4944 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.1428, allocations: 154.5 kB / 0.4946 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.1429, allocations: 105 kB / 0.4947 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.1429, allocations: 75.28 kB / 0.4947 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.143, allocations: 154.6 kB / 0.4949 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.1431, allocations: 150.6 kB / 0.495 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.1432, allocations: 154.5 kB / 0.4952 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1435, allocations: 453.9 kB / 0.4956 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1437, allocations: 173.1 kB / 0.4958 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1437, allocations: 80.14 kB / 0.4958 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.1438, allocations: 75.28 kB / 0.4959 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.739e-05/0.1439, allocations: 117.8 kB / 0.496 GB, free: 3.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1439, allocations: 0 / 0.496 GB, free: 3.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.393e-05/0.144, allocations: 25.7 kB / 0.496 GB, free: 3.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.1441, allocations: 182.1 kB / 0.4962 GB, free: 3.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1442, allocations: 89.86 kB / 0.4963 GB, free: 2.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1443, allocations: 25.7 kB / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.1443, allocations: 80.14 kB / 0.4964 GB, free: 2.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.1443, allocations: 0 / 0.4964 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1444, allocations: 21.83 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1446, allocations: 314.8 kB / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-06/0.1446, allocations: 48 / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.1446, allocations: 17.72 kB / 0.4967 GB, free: 2.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.1447, allocations: 75.28 kB / 0.4968 GB, free: 2.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/0.1447, allocations: 79.22 kB / 0.4969 GB, free: 2.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.321e-05/0.1448, allocations: 33.64 kB / 0.4969 GB, free: 2.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.1448, allocations: 83.31 kB / 0.497 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/0.1449, allocations: 75.28 kB / 0.4971 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-05/0.145, allocations: 162.5 kB / 0.4972 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.1451, allocations: 75.28 kB / 0.4973 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.709e-05/0.1451, allocations: 158.5 kB / 0.4975 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1453, allocations: 75.28 kB / 0.4975 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1453, allocations: 83.28 kB / 0.4976 GB, free: 1.602 MB / 382.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 (0): * Single equations (assignments): 0 * 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.0002067/0.1455, allocations: 264.3 kB / 0.4979 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.1457, allocations: 112.9 kB / 0.498 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.1457, allocations: 108.1 kB / 0.4981 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.1459, allocations: 184.2 kB / 0.4982 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.146, allocations: 180.3 kB / 0.4984 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.443e-05/0.1461, allocations: 184.2 kB / 0.4986 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1464, allocations: 405.1 kB / 0.499 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.838e-05/0.1465, allocations: 105 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.1465, allocations: 104.9 kB / 0.4992 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-05/0.1466, allocations: 180.3 kB / 0.4994 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/0.1467, allocations: 188.2 kB / 0.4995 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.728e-05/0.1468, allocations: 184.2 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.977e-05/0.1469, allocations: 176.6 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.147, allocations: 307.7 kB / 0.5002 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.1471, allocations: 198 kB / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1473, allocations: 180.2 kB / 0.5005 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1474, allocations: 108.9 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.1475, allocations: 184.2 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.1475, allocations: 105 kB / 0.5009 GB, free: 13.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.1476, allocations: 75.28 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1476, allocations: 4.094 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1479, allocations: 4 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0004801/0.1484, allocations: 0.8009 MB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.269e-05/0.1484, allocations: 0 / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.1484, allocations: 4 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1484, allocations: 0 / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1489, allocations: 459.7 kB / 0.5022 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.1492, allocations: 189.8 kB / 0.5024 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1496, allocations: 0.6728 MB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.1496, allocations: 0 / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.1496, allocations: 11.44 kB / 0.5031 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1496, allocations: 0 / 0.5031 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.172, allocations: 1.007 MB / 0.504 GB, free: 10.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.484, allocations: 20.05 kB / 0.5041 GB, free: 10.62 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches