Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_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.001613/0.001613, allocations: 114.5 kB / 17.73 MB, free: 5.328 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.001819/0.00182, allocations: 187 kB / 18.67 MB, free: 4.395 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.455/1.455, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001634/0.001634, allocations: 59.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08926, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006538/0.09583, allocations: 5.028 MB / 379.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1735/0.2694, allocations: 1.338 MB / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.2697, allocations: 10.69 kB / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2701, allocations: 159.6 kB / 381.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.2706, allocations: 327.4 kB / 381.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.271, allocations: 230.3 kB / 381.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.272, allocations: 1.188 MB / 382.9 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.2724, allocations: 310.4 kB / 383.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.273, allocations: 450.2 kB / 383.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.2735, allocations: 0.5071 MB / 384.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.2736, allocations: 103.4 kB / 384.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2738, allocations: 105.7 kB / 384.4 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.274, allocations: 229.5 kB / 384.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.2744, allocations: 0.5154 MB / 385.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2754, allocations: 1.211 MB / 386.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2754, allocations: 4 kB / 386.3 MB, free: 7.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2754, allocations: 0 / 386.3 MB, free: 7.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2755, allocations: 0 / 386.3 MB, free: 7.359 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002119/0.2776, allocations: 1.369 MB / 387.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2776, allocations: 10.11 kB / 387.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.2778, allocations: 111.5 kB / 387.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.278, allocations: 115.1 kB / 387.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.279, allocations: 0.5975 MB / 388.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.2791, allocations: 146.2 kB / 388.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.2792, allocations: 63.53 kB / 388.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2807, allocations: 0.8594 MB / 389.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.2807, allocations: 4 kB / 389.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.2808, allocations: 29.19 kB / 389.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2808, allocations: 12.78 kB / 389.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2822, allocations: 0.614 MB / 390.2 MB, free: 4.965 MB / 318.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.003009/0.2853, allocations: 2.089 MB / 392.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.2865, allocations: 0.8513 MB / 393.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.2873, allocations: 404.3 kB / 393.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2873, allocations: 14.11 kB / 393.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2874, allocations: 46.72 kB / 393.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.2874, allocations: 0 / 393.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.005051/0.2924, allocations: 1.798 MB / 395.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.2927, allocations: 0.8229 MB / 396.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.2935, allocations: 0.6304 MB / 396.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/0.2936, allocations: 45.14 kB / 396.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.2939, allocations: 350 kB / 397.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.294, allocations: 267 kB / 397.5 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.2943, allocations: 144.6 kB / 397.7 MB, free: 328 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2945, allocations: 389.1 kB / 398.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.2951, allocations: 270.9 kB / 398.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/0.2961, allocations: 0.551 MB / 398.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.2975, allocations: 0.6835 MB / 399.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2975, allocations: 0 / 399.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002555/0.3001, allocations: 1.098 MB / 400.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.3001, allocations: 88.58 kB / 400.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3002, allocations: 2.219 kB / 400.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.3008, allocations: 235 kB / 401 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.3015, allocations: 140.2 kB / 401.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008276/0.3098, allocations: 6.942 MB / 408 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.3108, allocations: 102.7 kB / 408.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.3109, allocations: 20.84 kB / 408.2 MB, free: 7.926 MB / 334.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.0004063/0.3113, allocations: 232.5 kB / 408.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.3115, allocations: 93.23 kB / 408.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.3117, allocations: 85.19 kB / 408.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3117, allocations: 7.75 kB / 408.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3117, allocations: 3.688 kB / 408.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002561/0.3143, allocations: 1.242 MB / 409.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.3182, allocations: 1.931 MB / 411.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3182, allocations: 3.938 kB / 411.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.3189, allocations: 141 kB / 411.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.3194, allocations: 188.8 kB / 412.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.3195, allocations: 24.28 kB / 412.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.3265, allocations: 5.349 MB / 417.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3265, allocations: 0 / 417.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.33, allocations: 1.397 MB / 418.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.3305, allocations: 241.7 kB / 419.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3307, allocations: 25.58 kB / 419.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.3313, allocations: 48.64 kB / 419.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.3316, allocations: 58.55 kB / 419.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.3316, allocations: 20.67 kB / 419.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.3323, allocations: 460.2 kB / 419.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3323, allocations: 1.219 kB / 419.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009861/0.3333, allocations: 283.7 kB / 420 MB, free: 14.79 MB / 350.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.00373/0.337, allocations: 1.976 MB / 421.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3396, allocations: 1.365 MB / 423.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3396, allocations: 0 / 423.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.3411, allocations: 0.7639 MB / 424.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.3423, allocations: 233.8 kB / 424.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.3561, allocations: 7.553 MB / 431.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.3567, allocations: 0.944 MB / 432.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.3573, allocations: 102.4 kB / 432.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.3577, allocations: 299.3 kB / 433.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3578, allocations: 7.938 kB / 433.2 MB, free: 2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08505/0.4428, allocations: 25.94 MB / 459.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.46, allocations: 15.91 kB / 459.1 MB, free: 7.949 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches