Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.001388/0.001388, allocations: 105.2 kB / 16.4 MB, free: 6.469 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.00146/0.00146, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.427/1.427, 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.2165/0.2165, allocations: 43.52 MB / 314.1 MB, free: 444 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.001445/0.001445, allocations: 73.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001648/0.14, allocations: 0.4987 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1422, allocations: 1.256 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.1422, allocations: 0 / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.1423, allocations: 3.938 kB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1425, allocations: 11.97 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1435, allocations: 253.6 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.1436, allocations: 3.984 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1436, allocations: 4 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.1437, allocations: 15.86 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.1437, allocations: 8 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1438, allocations: 4 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.1467, allocations: 0.6644 MB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.1467, allocations: 4 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.1467, allocations: 4 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.147, allocations: 187.5 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.147, allocations: 0 / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.147, allocations: 0 / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.147, allocations: 0 / 0.4902 GB, free: 9.438 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004967/0.1475, allocations: 392.7 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1476, allocations: 11.89 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1477, allocations: 38.75 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.1477, allocations: 0.9375 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1478, allocations: 168.4 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1478, allocations: 384 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1479, allocations: 4.375 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.1479, allocations: 29.64 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.148, allocations: 0 / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.148, allocations: 0 / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.148, allocations: 0 / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.148, allocations: 7.938 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1482, allocations: 153.7 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.1483, allocations: 18.61 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.1483, allocations: 8.797 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1483, allocations: 3.938 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.1484, allocations: 60.33 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1484, allocations: 0 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002562/0.1486, allocations: 67.33 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1487, allocations: 85.23 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.1488, allocations: 93.86 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1488, allocations: 25.7 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.1489, allocations: 80.14 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1489, allocations: 3.953 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1489, allocations: 17.7 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.149, allocations: 318.8 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.1491, allocations: 8.125 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1491, allocations: 4.016 kB / 0.4917 GB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.1491, allocations: 60.27 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1492, allocations: 0 / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.346e-05/0.1492, allocations: 75.27 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.1493, allocations: 29.7 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1493, allocations: 0 / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1493, allocations: 0 / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1493, allocations: 0 / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1493, allocations: 8.094 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1493, allocations: 3.984 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1494, allocations: 0 / 0.4919 GB, free: 7.414 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001015/0.1495, allocations: 139.5 kB / 0.492 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.1495, allocations: 3.938 kB / 0.492 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.1495, allocations: 7.109 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1495, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1495, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1495, allocations: 0 / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1496, allocations: 153.7 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1496, allocations: 3.938 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-06/0.1496, allocations: 3.984 kB / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1496, allocations: 0 / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1497, allocations: 0 / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1497, allocations: 4 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1497, allocations: 0 / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1498, allocations: 98.78 kB / 0.4923 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1499, allocations: 85.08 kB / 0.4924 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1499, allocations: 0 / 0.4924 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.1499, allocations: 0 / 0.4924 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.1499, allocations: 0 / 0.4924 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1499, allocations: 7.938 kB / 0.4924 GB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.15, allocations: 75.28 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1503, allocations: 67.73 kB / 0.4925 GB, free: 6.664 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008994/0.1512, allocations: 0.8627 MB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1514, allocations: 63.41 kB / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1514, allocations: 0 / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.1514, allocations: 59.39 kB / 0.4935 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1516, allocations: 3.938 kB / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.152, allocations: 150.3 kB / 0.4936 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1523, allocations: 0.6729 MB / 0.4943 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.17e-05/0.1523, allocations: 4 kB / 0.4943 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.1523, allocations: 11.56 kB / 0.4943 GB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1523, allocations: 0 / 0.4943 GB, free: 4.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1754, allocations: 2.52 MB / 0.4968 GB, free: 2.156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.563, allocations: 4.062 kB / 0.4968 GB, free: 2.152 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_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_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches