Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001265/0.001265, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001199/0.001199, allocations: 193.4 kB / 18 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 43.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006253/0.269, allocations: 5.039 MB / 405.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2715, allocations: 1.289 MB / 406.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.2719, allocations: 8 kB / 406.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.2724, allocations: 178.5 kB / 406.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.2731, allocations: 321.2 kB / 407.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.2735, allocations: 223.6 kB / 407.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.2748, allocations: 1.178 MB / 408.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.2753, allocations: 322 kB / 408.8 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.2758, allocations: 450.4 kB / 409.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.2764, allocations: 0.5096 MB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.2766, allocations: 104 kB / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2768, allocations: 108 kB / 409.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.277, allocations: 227.2 kB / 410.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.2775, allocations: 0.5133 MB / 410.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.2788, allocations: 1.205 MB / 411.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2789, allocations: 0 / 411.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2789, allocations: 0 / 411.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.2789, allocations: 0 / 411.9 MB, free: 13.11 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002507/0.2814, allocations: 1.375 MB / 413.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2815, allocations: 12.03 kB / 413.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.2817, allocations: 119.9 kB / 413.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.2819, allocations: 116.3 kB / 413.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2829, allocations: 0.5955 MB / 414.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.2831, allocations: 143 kB / 414.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2832, allocations: 63.94 kB / 414.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2847, allocations: 0.8704 MB / 415.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2848, allocations: 3.938 kB / 415.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.2848, allocations: 32 kB / 415.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2848, allocations: 12 kB / 415.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.2863, allocations: 0.6063 MB / 415.8 MB, free: 8.934 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.003548/0.2898, allocations: 2.1 MB / 417.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.2913, allocations: 0.8422 MB / 418.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.2922, allocations: 390.6 kB / 419.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.2922, allocations: 12.66 kB / 419.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.2923, allocations: 51.16 kB / 419.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.755e-06/0.2923, allocations: 4 kB / 419.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005192/0.2975, allocations: 1.797 MB / 421 MB, free: 3.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004566/0.298, allocations: 0.8234 MB / 421.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.2988, allocations: 0.6332 MB / 422.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.2989, allocations: 41.7 kB / 422.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.2992, allocations: 353.2 kB / 422.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.2994, allocations: 269.7 kB / 423.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.2997, allocations: 146.7 kB / 423.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.2999, allocations: 382.8 kB / 423.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.3006, allocations: 269.8 kB / 423.9 MB, free: 368 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009829/0.3016, allocations: 0.5516 MB / 424.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.303, allocations: 0.6778 MB / 425.1 MB, free: 15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.303, allocations: 0 / 425.1 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002728/0.3058, allocations: 1.103 MB / 426.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.3059, allocations: 87.61 kB / 426.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3059, allocations: 0 / 426.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007384/0.3066, allocations: 243.1 kB / 426.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.3073, allocations: 143.8 kB / 426.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00863/0.3159, allocations: 6.933 MB / 433.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3169, allocations: 99.61 kB / 433.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.317, allocations: 24 kB / 433.7 MB, free: 5.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.3174, allocations: 221.6 kB / 433.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3176, allocations: 99.42 kB / 434 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.3178, allocations: 83.34 kB / 434.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3178, allocations: 8 kB / 434.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3178, allocations: 0 / 434.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002638/0.3205, allocations: 1.233 MB / 435.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/0.3245, allocations: 1.939 MB / 437.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3246, allocations: 0 / 437.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.3253, allocations: 139.8 kB / 437.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/0.3258, allocations: 194.5 kB / 437.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.3259, allocations: 16.12 kB / 437.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.3329, allocations: 5.361 MB / 443 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3329, allocations: 0 / 443 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.3364, allocations: 1.396 MB / 444.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.3369, allocations: 244.5 kB / 444.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3371, allocations: 23.98 kB / 444.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.3377, allocations: 51.95 kB / 444.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.338, allocations: 60.52 kB / 444.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.338, allocations: 19.98 kB / 444.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.3387, allocations: 463 kB / 445.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3387, allocations: 0 / 445.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009394/0.3396, allocations: 283.8 kB / 445.5 MB, free: 9.289 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003746/0.3434, allocations: 1.971 MB / 447.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.3459, allocations: 1.359 MB / 448.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3459, allocations: 0 / 448.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.3474, allocations: 0.7652 MB / 449.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3485, allocations: 234.9 kB / 449.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.362, allocations: 7.545 MB / 457.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.3626, allocations: 0.944 MB / 458.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000502/0.3631, allocations: 102.4 kB / 458.4 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.3636, allocations: 303.3 kB / 458.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3636, allocations: 0 / 458.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07294/0.4365, allocations: 25.94 MB / 484.7 MB, free: 2.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.46, allocations: 16.56 kB / 484.7 MB, free: 2.168 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches