Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",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.001693/0.001693, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.00139/0.00139, 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.554/1.554, 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.2357/0.2357, allocations: 43.52 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.002094/0.002094, allocations: 81.42 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1291, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003276/0.1324, allocations: 1.876 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1335, allocations: 0.6162 MB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.1336, allocations: 0 / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.1338, allocations: 31.78 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1339, allocations: 35.7 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1341, allocations: 43.89 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1343, allocations: 151.5 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1345, allocations: 61.45 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1346, allocations: 63.7 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.1347, allocations: 63.7 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1348, allocations: 16 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.62e-05/0.1348, allocations: 16 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.1348, allocations: 27.92 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.1349, allocations: 71.66 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1351, allocations: 155.3 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1352, allocations: 0 / 0.4905 GB, free: 9.078 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006844/0.1359, allocations: 447.2 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1359, allocations: 11.89 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.136, allocations: 50.73 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.136, allocations: 12.84 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1363, allocations: 204.1 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1364, allocations: 12.59 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1364, allocations: 12.38 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1367, allocations: 139.9 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1367, allocations: 4 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1368, allocations: 11.94 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1368, allocations: 0 / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.1371, allocations: 116.1 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1381, allocations: 0.5949 MB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1384, allocations: 78.52 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1385, allocations: 33 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1385, allocations: 0 / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1386, allocations: 34.56 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1386, allocations: 0 / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003979/0.139, allocations: 113.5 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.139, allocations: 55.41 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1392, allocations: 157.6 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1393, allocations: 25.7 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1394, allocations: 135.8 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.1394, allocations: 11.91 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1394, allocations: 29.67 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1396, allocations: 322.8 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1397, allocations: 27.97 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1399, allocations: 60.27 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1401, allocations: 96.2 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1401, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002998/0.1404, allocations: 125.6 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1405, allocations: 8 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1405, allocations: 3.984 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1405, allocations: 3.938 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1406, allocations: 23.98 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1406, allocations: 4 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1408, allocations: 23.81 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1408, allocations: 4 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001093/0.1409, allocations: 133.8 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1409, allocations: 7.953 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.141, allocations: 12.3 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.141, allocations: 7.938 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.141, allocations: 0 / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.141, allocations: 0 / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1412, allocations: 209.6 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1412, allocations: 0 / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/0.1413, allocations: 15.98 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1414, allocations: 7.938 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1414, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1414, allocations: 7.938 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1414, allocations: 0 / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.1417, allocations: 183.7 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1418, allocations: 89.06 kB / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1418, allocations: 0 / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.1419, allocations: 15.92 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.142, allocations: 4 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.142, allocations: 0 / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.117e-05/0.1421, allocations: 119.9 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 0 / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1423, allocations: 27.89 kB / 0.4942 GB, free: 4.934 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005907/0.1429, allocations: 0.7201 MB / 0.4949 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1432, allocations: 67.89 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1432, allocations: 0 / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1433, allocations: 28.23 kB / 0.495 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1436, allocations: 8 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1459, allocations: 1.648 MB / 0.4966 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1463, allocations: 0.7157 MB / 0.4973 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.1464, allocations: 4.672 kB / 0.4973 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.1464, allocations: 35.42 kB / 0.4973 GB, free: 1.547 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1464, allocations: 0 / 0.4973 GB, free: 1.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.1709, allocations: 2.126 MB / 0.4994 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.279, allocations: 3.938 kB / 0.4994 GB, free: 15.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches