Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001418/0.001418, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.001316/0.001316, allocations: 196 kB / 18.51 MB, free: 4.504 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.428/1.428, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.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.001662/0.001662, allocations: 63.91 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.09058, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005321/0.09595, allocations: 3.651 MB / 331 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.09797, allocations: 1.029 MB / 332.1 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.09818, allocations: 4 kB / 332.1 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.09857, allocations: 107.1 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.09898, allocations: 194.3 kB / 332.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.09927, allocations: 123.8 kB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.09999, allocations: 0.6809 MB / 333.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1003, allocations: 202.4 kB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.1006, allocations: 255 kB / 333.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.101, allocations: 294.8 kB / 333.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.1011, allocations: 60 kB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1012, allocations: 56 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1013, allocations: 127.5 kB / 334.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.1016, allocations: 314.5 kB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.1023, allocations: 0.6774 MB / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1023, allocations: 0 / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1023, allocations: 0 / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1023, allocations: 4 kB / 335.1 MB, free: 12.58 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001594/0.1039, allocations: 0.8932 MB / 336 MB, free: 11.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.104, allocations: 8.031 kB / 336 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1041, allocations: 79.36 kB / 336.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1042, allocations: 68.19 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.1049, allocations: 434.4 kB / 336.6 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.1051, allocations: 82.88 kB / 336.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.1052, allocations: 32.38 kB / 336.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.1061, allocations: 0.4969 MB / 337.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1061, allocations: 0 / 337.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.1062, allocations: 16 kB / 337.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1062, allocations: 8 kB / 337.2 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.1072, allocations: 362.4 kB / 337.6 MB, free: 9.953 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1092, allocations: 1.325 MB / 338.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.11, allocations: 391.5 kB / 339.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.1105, allocations: 188.8 kB / 339.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1105, allocations: 19.92 kB / 339.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1106, allocations: 38.56 kB / 339.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.492e-06/0.1106, allocations: 0 / 339.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001885/0.1125, allocations: 0.7588 MB / 340.3 MB, free: 7.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/0.1128, allocations: 445 kB / 340.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.1133, allocations: 457.9 kB / 341.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.1134, allocations: 33.7 kB / 341.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.1136, allocations: 248.3 kB / 341.4 MB, free: 5.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1137, allocations: 126.3 kB / 341.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1138, allocations: 77.39 kB / 341.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.114, allocations: 358.8 kB / 342 MB, free: 5.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.1145, allocations: 151.9 kB / 342.1 MB, free: 5.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.115, allocations: 298.5 kB / 342.4 MB, free: 4.719 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/0.1159, allocations: 361.2 kB / 342.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1159, allocations: 0 / 342.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001206/0.1172, allocations: 0.5014 MB / 343.3 MB, free: 3.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1172, allocations: 37.67 kB / 343.3 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1172, allocations: 0 / 343.3 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.1175, allocations: 49.69 kB / 343.4 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.1181, allocations: 91.88 kB / 343.5 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.1209, allocations: 2.974 MB / 346.4 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.1214, allocations: 55.66 kB / 346.5 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1215, allocations: 11.98 kB / 346.5 MB, free: 336 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.1217, allocations: 174.1 kB / 346.7 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.1218, allocations: 51.44 kB / 346.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1219, allocations: 52.77 kB / 346.8 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1219, allocations: 4 kB / 346.8 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1219, allocations: 3.938 kB / 346.8 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.1231, allocations: 0.7542 MB / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.1248, allocations: 1.032 MB / 348.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1248, allocations: 3.938 kB / 348.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.1253, allocations: 95.86 kB / 348.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1253, allocations: 4 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1253, allocations: 4 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1253, allocations: 7.938 kB / 348.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1254, allocations: 0 / 348.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.1268, allocations: 0.6977 MB / 349.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.127, allocations: 176.4 kB / 349.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.1271, allocations: 8 kB / 349.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.1275, allocations: 32.03 kB / 349.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1276, allocations: 27.95 kB / 349.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1276, allocations: 8 kB / 349.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.128, allocations: 323.1 kB / 349.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 349.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.1284, allocations: 139.8 kB / 350.1 MB, free: 12.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.001871/0.1303, allocations: 1.246 MB / 351.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.1318, allocations: 0.6801 MB / 352 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1318, allocations: 0 / 352 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.1323, allocations: 192.2 kB / 352.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.1331, allocations: 145.2 kB / 352.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.1405, allocations: 4.747 MB / 357.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.141, allocations: 0.8314 MB / 357.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.1413, allocations: 60.34 kB / 358 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.1416, allocations: 179.4 kB / 358.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1416, allocations: 7.875 kB / 358.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04735/0.1889, allocations: 13.5 MB / 371.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.76, allocations: 7.953 kB / 371.7 MB, free: 6.68 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches