Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001112/0.001112, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001187/0.001187, allocations: 183 kB / 18.66 MB, free: 4.398 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.342/1.342, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001254/0.001254, allocations: 47.94 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08229, allocations: 46.63 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00444/0.08677, allocations: 3.474 MB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.08851, allocations: 0.9861 MB / 379.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.08885, allocations: 4 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.08926, allocations: 115 kB / 379.2 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.08977, allocations: 178.4 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.09015, allocations: 127.8 kB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1614/0.2516, allocations: 0.6328 MB / 380.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.2519, allocations: 196.1 kB / 380.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.2522, allocations: 238.2 kB / 380.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.2525, allocations: 275.7 kB / 380.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.2526, allocations: 53.25 kB / 380.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.2527, allocations: 53.59 kB / 380.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.2528, allocations: 119.9 kB / 381.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.253, allocations: 295.1 kB / 381.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.2538, allocations: 0.6405 MB / 382 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2538, allocations: 5.094 kB / 382 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2538, allocations: 0 / 382 MB, free: 9.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.2538, allocations: 0 / 382 MB, free: 9.07 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001405/0.2553, allocations: 0.8399 MB / 382.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2553, allocations: 9.312 kB / 382.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.2554, allocations: 89.88 kB / 382.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2555, allocations: 62.61 kB / 383 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.2561, allocations: 399.4 kB / 383.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.2562, allocations: 58.72 kB / 383.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.2562, allocations: 34.91 kB / 383.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.2569, allocations: 475.8 kB / 383.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2569, allocations: 0 / 383.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.257, allocations: 16.75 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.257, allocations: 8.406 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.2576, allocations: 283.4 kB / 384.2 MB, free: 7.953 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.001876/0.2594, allocations: 1.307 MB / 385.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2605, allocations: 433.1 kB / 386 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.2607, allocations: 140.6 kB / 386.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.2608, allocations: 5.469 kB / 386.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2608, allocations: 42.53 kB / 386.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.2608, allocations: 0 / 386.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001044/0.2619, allocations: 0.6053 MB / 386.8 MB, free: 6.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.2619, allocations: 449 kB / 387.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.2624, allocations: 450.5 kB / 387.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2624, allocations: 34.27 kB / 387.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.2626, allocations: 241 kB / 387.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.2627, allocations: 108.2 kB / 388 MB, free: 5.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2628, allocations: 83.97 kB / 388.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.2629, allocations: 355.9 kB / 388.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2631, allocations: 105.1 kB / 388.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2634, allocations: 258.2 kB / 388.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.2638, allocations: 273.7 kB / 389.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2638, allocations: 1.062 kB / 389.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006774/0.2645, allocations: 421.5 kB / 389.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.2646, allocations: 31.97 kB / 389.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2646, allocations: 4.734 kB / 389.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2648, allocations: 54.03 kB / 389.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2651, allocations: 65.84 kB / 389.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.2669, allocations: 2.961 MB / 392.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.2674, allocations: 43.89 kB / 392.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2674, allocations: 12.06 kB / 392.6 MB, free: 1.59 MB / 318.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 (36): * Single equations (assignments): 33 * 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.0001868/0.2676, allocations: 172.5 kB / 392.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.2677, allocations: 49.48 kB / 392.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.2678, allocations: 59.08 kB / 392.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2678, allocations: 12.11 kB / 392.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2678, allocations: 0 / 392.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005469/0.2684, allocations: 0.6507 MB / 393.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2696, allocations: 0.9075 MB / 394.5 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2696, allocations: 2.016 kB / 394.5 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.27, allocations: 71.05 kB / 394.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.27, allocations: 1.281 kB / 394.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.27, allocations: 8.312 kB / 394.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.27, allocations: 5.438 kB / 394.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.27, allocations: 0 / 394.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.2708, allocations: 0.5162 MB / 395.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.2711, allocations: 161.9 kB / 395.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.2711, allocations: 8.484 kB / 395.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2714, allocations: 14.69 kB / 395.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.2715, allocations: 23.61 kB / 395.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.2715, allocations: 11.25 kB / 395.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.2719, allocations: 321.1 kB / 395.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 395.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004414/0.2723, allocations: 132.4 kB / 395.8 MB, free: 15.55 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 (32): * Single equations (assignments): 32 * 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.001081/0.2734, allocations: 1.07 MB / 396.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.2743, allocations: 0.5659 MB / 397.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2743, allocations: 0 / 397.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.2746, allocations: 131.2 kB / 397.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.2752, allocations: 130.9 kB / 397.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.2809, allocations: 4.232 MB / 401.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.2813, allocations: 0.825 MB / 402.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.2816, allocations: 60.08 kB / 402.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.2819, allocations: 162 kB / 402.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2819, allocations: 1 kB / 402.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7743/1.056, allocations: 13.02 MB / 415.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.18, allocations: 3.953 kB / 415.9 MB, free: 4.457 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches