Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_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.001436/0.001436, allocations: 111 kB / 17.06 MB, free: 5.965 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.001617/0.001617, allocations: 198.9 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009821/0.0009822, allocations: 51.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2634, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004565/0.268, allocations: 3.49 MB / 403.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2698, allocations: 0.9479 MB / 404.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.2702, allocations: 7.938 kB / 404.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.2706, allocations: 107.1 kB / 404.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.2711, allocations: 182.4 kB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.2714, allocations: 123.8 kB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000755/0.2721, allocations: 0.638 MB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.2724, allocations: 186.9 kB / 405.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.2727, allocations: 243.1 kB / 406.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.2731, allocations: 274.8 kB / 406.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.2732, allocations: 52 kB / 406.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.2733, allocations: 52 kB / 406.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2734, allocations: 127.5 kB / 406.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.2736, allocations: 286.7 kB / 406.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.2742, allocations: 0.6461 MB / 407.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2743, allocations: 4 kB / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2743, allocations: 0 / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.2743, allocations: 0 / 407.6 MB, free: 1.445 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.001367/0.2757, allocations: 0.8468 MB / 408.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2757, allocations: 8.031 kB / 408.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.2758, allocations: 75.62 kB / 408.5 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2759, allocations: 64.28 kB / 408.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.2766, allocations: 403 kB / 408.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.2767, allocations: 51.27 kB / 409 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.2767, allocations: 36.38 kB / 409 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.2775, allocations: 478 kB / 409.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2775, allocations: 0 / 409.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.2776, allocations: 23.97 kB / 409.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2776, allocations: 8 kB / 409.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.2782, allocations: 283.8 kB / 409.8 MB, free: 15.03 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.002088/0.2803, allocations: 1.3 MB / 411.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2814, allocations: 444.2 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.2816, allocations: 140.8 kB / 411.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.2817, allocations: 4 kB / 411.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2817, allocations: 38.56 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.537e-06/0.2817, allocations: 3.984 kB / 411.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001169/0.2829, allocations: 0.6067 MB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/0.2831, allocations: 445 kB / 412.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.2837, allocations: 461.8 kB / 413.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2837, allocations: 33.7 kB / 413.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2839, allocations: 244.4 kB / 413.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.284, allocations: 110.3 kB / 413.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2841, allocations: 78.02 kB / 413.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2843, allocations: 354.8 kB / 414 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.2845, allocations: 104.6 kB / 414.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.2849, allocations: 252.1 kB / 414.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.2854, allocations: 285.1 kB / 414.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2854, allocations: 96 / 414.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006776/0.2861, allocations: 420.3 kB / 415.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.2861, allocations: 33.7 kB / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2861, allocations: 0 / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2863, allocations: 53.62 kB / 415.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.2866, allocations: 75.92 kB / 415.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.289, allocations: 2.961 MB / 418.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.2894, allocations: 43.56 kB / 418.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2894, allocations: 15.98 kB / 418.2 MB, free: 5.906 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 (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.0001975/0.2896, allocations: 161.8 kB / 418.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.2897, allocations: 51.38 kB / 418.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.2898, allocations: 52.64 kB / 418.5 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2898, allocations: 4 kB / 418.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2898, allocations: 4 kB / 418.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006863/0.2905, allocations: 0.6492 MB / 419.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.2917, allocations: 0.9009 MB / 420.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2918, allocations: 0 / 420.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.2921, allocations: 63.91 kB / 420.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.2921, allocations: 7.984 kB / 420.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2921, allocations: 8 kB / 420.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2921, allocations: 0 / 420.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2921, allocations: 0 / 420.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.2929, allocations: 0.5202 MB / 420.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.2931, allocations: 160.5 kB / 420.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.2932, allocations: 8 kB / 420.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.2935, allocations: 23.98 kB / 420.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.2935, allocations: 19.97 kB / 420.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.2936, allocations: 8 kB / 420.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.2939, allocations: 327.1 kB / 421.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2939, allocations: 4 kB / 421.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.2943, allocations: 131.8 kB / 421.3 MB, free: 2.613 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.001087/0.2954, allocations: 1.057 MB / 422.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.2963, allocations: 0.5749 MB / 422.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2963, allocations: 4.125 kB / 423 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.2966, allocations: 131.8 kB / 423.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.2972, allocations: 137.8 kB / 423.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.303, allocations: 4.231 MB / 427.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3034, allocations: 0.8237 MB / 428.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.3036, allocations: 60.34 kB / 428.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.3038, allocations: 163.4 kB / 428.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3038, allocations: 0 / 428.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.3461, allocations: 13 MB / 441.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.28, allocations: 10.8 kB / 441.5 MB, free: 14.52 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches