Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2338, allocations: 50.55 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004255/0.2381, allocations: 3.68 MB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.24, allocations: 1.005 MB / 413.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.2402, allocations: 11.94 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.2406, allocations: 107.1 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.2411, allocations: 202.3 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.2413, allocations: 135.8 kB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.242, allocations: 0.6808 MB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2422, allocations: 190.2 kB / 414.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2425, allocations: 259.1 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.2428, allocations: 298.7 kB / 415.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.2429, allocations: 60 kB / 415.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.9e-05/0.243, allocations: 56 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.2431, allocations: 123.5 kB / 415.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.2433, allocations: 310.6 kB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.2439, allocations: 0.6954 MB / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.244, allocations: 0 / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.244, allocations: 0 / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.244, allocations: 0 / 416.5 MB, free: 9.723 MB / 334.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.001454/0.2454, allocations: 0.9086 MB / 417.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2455, allocations: 16.03 kB / 417.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.2456, allocations: 79.31 kB / 417.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.2457, allocations: 68.56 kB / 417.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.2464, allocations: 442.8 kB / 418 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.2465, allocations: 62.84 kB / 418.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2465, allocations: 36.36 kB / 418.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.2473, allocations: 0.4891 MB / 418.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2473, allocations: 0 / 418.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.2474, allocations: 16 kB / 418.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2474, allocations: 8 kB / 418.6 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.2482, allocations: 338.4 kB / 419 MB, free: 7.117 MB / 334.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.001843/0.25, allocations: 1.295 MB / 420.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.2507, allocations: 379.4 kB / 420.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.2511, allocations: 184.7 kB / 420.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2511, allocations: 4 kB / 420.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2512, allocations: 46.5 kB / 420.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.2512, allocations: 0 / 420.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00154/0.2527, allocations: 0.7324 MB / 421.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.2529, allocations: 445 kB / 422 MB, free: 3.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.2533, allocations: 457.9 kB / 422.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.2534, allocations: 33.7 kB / 422.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2536, allocations: 248.6 kB / 422.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.2537, allocations: 126.9 kB / 422.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2538, allocations: 77.64 kB / 422.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2539, allocations: 362.8 kB / 423.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.2543, allocations: 143.7 kB / 423.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.2548, allocations: 278.8 kB / 423.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.2555, allocations: 337.2 kB / 424 MB, free: 1.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2555, allocations: 0 / 424 MB, free: 1.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009613/0.2565, allocations: 494 kB / 424.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.2565, allocations: 29.7 kB / 424.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2565, allocations: 4 kB / 424.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.2567, allocations: 49.69 kB / 424.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.2571, allocations: 87.88 kB / 424.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2594, allocations: 2.957 MB / 427.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.2598, allocations: 55.78 kB / 427.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2599, allocations: 20.23 kB / 427.7 MB, free: 13.66 MB / 350.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.0002116/0.2601, allocations: 165.8 kB / 427.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2602, allocations: 59.66 kB / 427.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.2603, allocations: 52.75 kB / 428 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2603, allocations: 4 kB / 428 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2603, allocations: 3.938 kB / 428 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009145/0.2612, allocations: 0.7282 MB / 428.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2628, allocations: 1.013 MB / 429.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2628, allocations: 3.938 kB / 429.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.2632, allocations: 91.88 kB / 429.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2632, allocations: 3.938 kB / 429.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2633, allocations: 11.94 kB / 429.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2633, allocations: 0 / 429.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2633, allocations: 0 / 429.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.2645, allocations: 0.656 MB / 430.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.2647, allocations: 168.6 kB / 430.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.2648, allocations: 12 kB / 430.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.2652, allocations: 32.03 kB / 430.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.2652, allocations: 23.95 kB / 430.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2653, allocations: 12 kB / 430.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.2656, allocations: 319.1 kB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2656, allocations: 0 / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000435/0.2661, allocations: 139.9 kB / 431.2 MB, free: 9.969 MB / 350.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.001485/0.2676, allocations: 1.208 MB / 432.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.2688, allocations: 0.641 MB / 433 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2688, allocations: 0 / 433 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.2692, allocations: 179.9 kB / 433.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.2699, allocations: 149.8 kB / 433.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.2762, allocations: 4.524 MB / 437.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.2766, allocations: 0.8314 MB / 438.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.2769, allocations: 60.34 kB / 438.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.2772, allocations: 175.4 kB / 439 MB, free: 2.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.284e-06/0.2772, allocations: 0 / 439 MB, free: 2.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/0.3332, allocations: 13.66 MB / 452.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.84, allocations: 12.81 kB / 452.6 MB, free: 4.613 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches