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.001353/0.001353, allocations: 101 kB / 16.26 MB, free: 5.98 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.001886/0.001886, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.5/1.5, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2028/0.2028, allocations: 43.53 MB / 314 MB, free: 0.5234 MB / 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.002374/0.002374, allocations: 67.64 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1174, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001609/0.119, allocations: 489.5 kB / 441.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1214, allocations: 2.04 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.1214, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1215, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.147e-05/0.1215, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1225, allocations: 374.8 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.1226, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.1226, allocations: 0 / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.1226, allocations: 4 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0143/0.137, allocations: 3.359 MB / 446.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.137, allocations: 0 / 446.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.1371, allocations: 8 kB / 446.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1371, allocations: 0 / 446.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.1372, allocations: 4 kB / 446.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1373, allocations: 19.91 kB / 446.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1373, allocations: 4 kB / 446.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1373, allocations: 0 / 446.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1373, allocations: 0 / 446.9 MB, free: 0.6133 MB / 318.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.0002805/0.1376, allocations: 315.5 kB / 447.2 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1377, allocations: 15.89 kB / 447.2 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.1377, allocations: 110 kB / 447.3 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1379, allocations: 84.2 kB / 447.4 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1381, allocations: 239.7 kB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.1381, allocations: 154.9 kB / 447.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1382, allocations: 158.5 kB / 448 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.1383, allocations: 105 kB / 448.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1383, allocations: 75.28 kB / 448.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.1384, allocations: 150.6 kB / 448.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.1384, allocations: 154.6 kB / 448.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.1385, allocations: 154.5 kB / 448.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1387, allocations: 449.9 kB / 449 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.1388, allocations: 169.1 kB / 449.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.1389, allocations: 84.14 kB / 449.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1389, allocations: 75.28 kB / 449.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/0.139, allocations: 117.8 kB / 449.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.139, allocations: 3.938 kB / 449.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.357e-05/0.1391, allocations: 25.7 kB / 449.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.1391, allocations: 182.1 kB / 449.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.99e-05/0.1392, allocations: 97.86 kB / 449.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1393, allocations: 25.7 kB / 449.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1393, allocations: 80.14 kB / 449.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1393, allocations: 0 / 449.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1393, allocations: 13.72 kB / 449.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.1394, allocations: 310.8 kB / 450.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.1395, allocations: 0 / 450.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.1395, allocations: 21.83 kB / 450.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.1395, allocations: 79.28 kB / 450.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.1396, allocations: 75.28 kB / 450.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.422e-05/0.1396, allocations: 33.58 kB / 450.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.1397, allocations: 83.28 kB / 450.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.1397, allocations: 75.33 kB / 450.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.469e-05/0.1397, allocations: 158.5 kB / 450.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.1398, allocations: 79.31 kB / 450.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-05/0.1398, allocations: 154.6 kB / 450.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.1399, allocations: 83.2 kB / 451 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.14, allocations: 79.28 kB / 451.1 MB, free: 12.16 MB / 334.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.0001145/0.1401, allocations: 273.3 kB / 451.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.1401, allocations: 108.9 kB / 451.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.1402, allocations: 104.1 kB / 451.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.595e-05/0.1403, allocations: 192.2 kB / 451.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.9e-05/0.1403, allocations: 180.3 kB / 451.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.379e-05/0.1404, allocations: 176.3 kB / 452.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1407, allocations: 409.1 kB / 452.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.1407, allocations: 105 kB / 452.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.1407, allocations: 104.9 kB / 452.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.421e-05/0.1408, allocations: 180.3 kB / 452.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.1409, allocations: 180.2 kB / 453 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.069e-05/0.141, allocations: 184.2 kB / 453.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-05/0.141, allocations: 188.2 kB / 453.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1412, allocations: 307.7 kB / 453.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.1413, allocations: 178.5 kB / 453.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.1414, allocations: 188.2 kB / 454.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.1415, allocations: 101 kB / 454.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1416, allocations: 184.2 kB / 454.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.1416, allocations: 113 kB / 454.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.1417, allocations: 75.28 kB / 454.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1417, allocations: 0 / 454.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.142, allocations: 0 / 454.5 MB, free: 8.484 MB / 334.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.0003531/0.1424, allocations: 0.8087 MB / 455.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.363e-05/0.1424, allocations: 4 kB / 455.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1424, allocations: 0 / 455.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1424, allocations: 0 / 455.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1428, allocations: 459.7 kB / 455.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.1431, allocations: 181.9 kB / 456 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1434, allocations: 0.669 MB / 456.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.255e-05/0.1434, allocations: 4 kB / 456.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.1434, allocations: 11.38 kB / 456.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1434, allocations: 0 / 456.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1608, allocations: 0.9986 MB / 457.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.86, allocations: 0 / 457.7 MB, free: 5.219 MB / 334.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