Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_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.001119/0.001119, allocations: 112 kB / 17.06 MB, free: 5.996 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.001169/0.001169, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 51.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.238, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004652/0.2427, allocations: 3.68 MB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2444, allocations: 0.9734 MB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.2448, allocations: 11.94 kB / 404.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2452, allocations: 99.12 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.2457, allocations: 210.3 kB / 405.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.246, allocations: 131.8 kB / 405.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007879/0.2468, allocations: 0.6769 MB / 406 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.2471, allocations: 194.2 kB / 406.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.2475, allocations: 251.1 kB / 406.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.2479, allocations: 298.7 kB / 406.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.248, allocations: 56 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.2481, allocations: 60 kB / 406.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2482, allocations: 123.6 kB / 407 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.2485, allocations: 314.5 kB / 407.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008182/0.2494, allocations: 0.6954 MB / 408 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2494, allocations: 4 kB / 408 MB, free: 1.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2494, allocations: 4 kB / 408 MB, free: 1.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.2494, allocations: 0 / 408 MB, free: 1.035 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001629/0.2511, allocations: 0.9163 MB / 408.9 MB, free: 64 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2511, allocations: 8.031 kB / 408.9 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.2512, allocations: 83.41 kB / 409 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2514, allocations: 64.56 kB / 409 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.2521, allocations: 438.7 kB / 409.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.2522, allocations: 58.92 kB / 409.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.2523, allocations: 40.38 kB / 409.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.2532, allocations: 492.8 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2532, allocations: 0 / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.2532, allocations: 16 kB / 410.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2533, allocations: 8 kB / 410.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.2541, allocations: 342.4 kB / 410.4 MB, free: 14.43 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.002113/0.2562, allocations: 1.295 MB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.257, allocations: 375.5 kB / 412.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.2574, allocations: 184.7 kB / 412.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.2574, allocations: 12.58 kB / 412.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2575, allocations: 50.42 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.905e-06/0.2575, allocations: 0 / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001739/0.2592, allocations: 0.7233 MB / 413 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/0.2595, allocations: 445 kB / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.2601, allocations: 461.8 kB / 413.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.2601, allocations: 37.7 kB / 413.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2603, allocations: 244.7 kB / 414.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2604, allocations: 130.8 kB / 414.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2606, allocations: 73.7 kB / 414.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2607, allocations: 358.8 kB / 414.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.2611, allocations: 139.9 kB / 414.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.2616, allocations: 282.5 kB / 415.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.2623, allocations: 341.1 kB / 415.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2623, allocations: 0 / 415.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001061/0.2634, allocations: 498 kB / 416 MB, free: 8.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.2635, allocations: 29.7 kB / 416 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2635, allocations: 0 / 416 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.2637, allocations: 49.69 kB / 416 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.2641, allocations: 79.89 kB / 416.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.2665, allocations: 2.97 MB / 419.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.267, allocations: 51.8 kB / 419.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.267, allocations: 12 kB / 419.2 MB, free: 4.977 MB / 334.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.0002244/0.2672, allocations: 169.8 kB / 419.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2673, allocations: 55.67 kB / 419.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2675, allocations: 56.75 kB / 419.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2675, allocations: 4 kB / 419.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2675, allocations: 3.938 kB / 419.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009248/0.2684, allocations: 0.727 MB / 420.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2701, allocations: 1.021 MB / 421.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2701, allocations: 3.938 kB / 421.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.2705, allocations: 87.88 kB / 421.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2705, allocations: 4 kB / 421.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.2706, allocations: 4 kB / 421.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2706, allocations: 4 kB / 421.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2706, allocations: 0 / 421.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.2718, allocations: 0.6493 MB / 421.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.272, allocations: 180.7 kB / 422.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.2721, allocations: 8 kB / 422.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.2725, allocations: 39.91 kB / 422.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.2726, allocations: 19.97 kB / 422.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2726, allocations: 8 kB / 422.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000347/0.273, allocations: 327.1 kB / 422.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.273, allocations: 3.938 kB / 422.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000459/0.2735, allocations: 139.8 kB / 422.6 MB, free: 1.27 MB / 334.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.001551/0.275, allocations: 1.211 MB / 423.9 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.2762, allocations: 0.6371 MB / 424.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2763, allocations: 4.125 kB / 424.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.2767, allocations: 172.3 kB / 424.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.2773, allocations: 138 kB / 424.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.2838, allocations: 4.531 MB / 429.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2842, allocations: 0.8314 MB / 430.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.2845, allocations: 64.33 kB / 430.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.2847, allocations: 179.4 kB / 430.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2847, allocations: 0 / 430.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.3293, allocations: 13.66 MB / 444.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.3, allocations: 10.95 kB / 444.1 MB, free: 11.94 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches