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.001354/0.001353, allocations: 112.2 kB / 17.06 MB, free: 5.969 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.001148/0.001148, allocations: 200 kB / 18.01 MB, free: 5.055 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2946, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006102/0.3008, allocations: 5.028 MB / 405.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.3032, allocations: 1.298 MB / 406.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.3036, allocations: 11.94 kB / 406.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.3041, allocations: 166.6 kB / 406.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006392/0.3047, allocations: 317.2 kB / 407 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.3052, allocations: 227.6 kB / 407.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3064, allocations: 1.183 MB / 408.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.3069, allocations: 318 kB / 408.8 MB, free: 216 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/0.3074, allocations: 446.6 kB / 409.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.3079, allocations: 0.5096 MB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.3081, allocations: 104 kB / 409.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.3082, allocations: 104 kB / 409.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.3084, allocations: 227.2 kB / 410.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.3088, allocations: 0.5172 MB / 410.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3098, allocations: 1.199 MB / 411.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3099, allocations: 4 kB / 411.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3099, allocations: 3.938 kB / 411.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3099, allocations: 3.984 kB / 411.9 MB, free: 13.1 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.002327/0.3122, allocations: 1.341 MB / 413.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3123, allocations: 8.031 kB / 413.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.3124, allocations: 127.7 kB / 413.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.3126, allocations: 107.8 kB / 413.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008701/0.3135, allocations: 0.5793 MB / 414 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.3137, allocations: 154.9 kB / 414.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.3138, allocations: 63.94 kB / 414.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3151, allocations: 0.8665 MB / 415.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3152, allocations: 0 / 415.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.3152, allocations: 28 kB / 415.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3153, allocations: 19.98 kB / 415.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3166, allocations: 0.6063 MB / 415.8 MB, free: 8.965 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.003223/0.3198, allocations: 2.084 MB / 417.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3212, allocations: 0.8539 MB / 418.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.322, allocations: 394.6 kB / 419.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.322, allocations: 16.62 kB / 419.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3221, allocations: 55.2 kB / 419.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.093e-06/0.3221, allocations: 0 / 419.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004812/0.3269, allocations: 1.785 MB / 420.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003048/0.3272, allocations: 0.8273 MB / 421.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.3279, allocations: 0.637 MB / 422.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.328, allocations: 45.7 kB / 422.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3282, allocations: 348.9 kB / 422.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.3284, allocations: 260.2 kB / 423 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.3287, allocations: 142.7 kB / 423.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3288, allocations: 382.8 kB / 423.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.3295, allocations: 277.8 kB / 423.8 MB, free: 404 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.3303, allocations: 0.5515 MB / 424.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3316, allocations: 0.6778 MB / 425 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3317, allocations: 0 / 425 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002501/0.3342, allocations: 1.094 MB / 426.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.3342, allocations: 85.09 kB / 426.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3343, allocations: 4 kB / 426.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.335, allocations: 235.2 kB / 426.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.3356, allocations: 135.8 kB / 426.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.3433, allocations: 6.936 MB / 433.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008703/0.3442, allocations: 99.36 kB / 433.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.3443, allocations: 23.98 kB / 433.6 MB, free: 5.805 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.0004437/0.3447, allocations: 221.7 kB / 433.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.3449, allocations: 87 kB / 433.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.3451, allocations: 91.34 kB / 434 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3452, allocations: 4 kB / 434 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3452, allocations: 0 / 434 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00249/0.3477, allocations: 1.245 MB / 435.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.3516, allocations: 1.924 MB / 437.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3516, allocations: 0 / 437.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.3522, allocations: 136 kB / 437.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/0.3528, allocations: 198.4 kB / 437.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.3529, allocations: 19.92 kB / 437.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.3591, allocations: 5.357 MB / 442.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3591, allocations: 0 / 442.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3623, allocations: 1.391 MB / 444.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.3628, allocations: 243.8 kB / 444.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3629, allocations: 20 kB / 444.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.3636, allocations: 51.95 kB / 444.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.3638, allocations: 60.56 kB / 444.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.3639, allocations: 20.12 kB / 444.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005531/0.3644, allocations: 459 kB / 445.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3644, allocations: 0 / 445.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008768/0.3653, allocations: 283.7 kB / 445.4 MB, free: 9.363 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.003509/0.3688, allocations: 1.97 MB / 447.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.3711, allocations: 1.348 MB / 448.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.3711, allocations: 8.125 kB / 448.7 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.3724, allocations: 0.7729 MB / 449.5 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3735, allocations: 227 kB / 449.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.3866, allocations: 7.518 MB / 457.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.3873, allocations: 0.944 MB / 458.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004554/0.3877, allocations: 102.4 kB / 458.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.3882, allocations: 311.3 kB / 458.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3882, allocations: 0 / 458.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05885/0.447, allocations: 26.57 MB / 485.2 MB, free: 1.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.14, allocations: 12.62 kB / 485.2 MB, free: 1.633 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