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.001224/0.001224, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001241/0.001241, allocations: 187 kB / 18.67 MB, free: 4.402 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.355/1.355, allocations: 205.1 MB / 224.6 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.001608/0.001608, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.09053, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005089/0.09566, allocations: 3.481 MB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.09783, allocations: 0.9858 MB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.09807, allocations: 4 kB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.09853, allocations: 119 kB / 379.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.09896, allocations: 174.4 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.09929, allocations: 127.8 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1684/0.2677, allocations: 0.6326 MB / 380.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.2681, allocations: 195.3 kB / 380.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.2686, allocations: 239.1 kB / 380.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.2691, allocations: 273.7 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.2692, allocations: 55.44 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2695, allocations: 53.66 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2696, allocations: 120.2 kB / 381.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.27, allocations: 288.8 kB / 381.4 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009249/0.2709, allocations: 0.6502 MB / 382 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2709, allocations: 1.469 kB / 382 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.271, allocations: 2.625 kB / 382 MB, free: 9.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.271, allocations: 0.5 kB / 382 MB, free: 9.066 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.001788/0.2728, allocations: 0.8576 MB / 382.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2728, allocations: 10.2 kB / 382.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.273, allocations: 84.28 kB / 383 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.2731, allocations: 67.45 kB / 383 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.2738, allocations: 398.5 kB / 383.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2739, allocations: 58.34 kB / 383.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.274, allocations: 39.5 kB / 383.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.2747, allocations: 467 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2747, allocations: 0 / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.2748, allocations: 17.23 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2748, allocations: 9.688 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.2754, allocations: 288.7 kB / 384.3 MB, free: 7.934 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.001974/0.2774, allocations: 1.308 MB / 385.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.2784, allocations: 433.6 kB / 386 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2787, allocations: 145.3 kB / 386.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.2787, allocations: 5.328 kB / 386.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2787, allocations: 42.97 kB / 386.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.2787, allocations: 6.844 kB / 386.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00106/0.2798, allocations: 0.6059 MB / 386.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.2799, allocations: 444.1 kB / 387.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.2803, allocations: 455.4 kB / 387.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2804, allocations: 36.77 kB / 387.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2805, allocations: 239.1 kB / 388 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.2806, allocations: 116.9 kB / 388.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2807, allocations: 73.42 kB / 388.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.2808, allocations: 356.9 kB / 388.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.281, allocations: 109 kB / 388.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.2813, allocations: 250.4 kB / 388.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.2818, allocations: 277.9 kB / 389.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2818, allocations: 1.156 kB / 389.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006672/0.2825, allocations: 423.1 kB / 389.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2825, allocations: 32 kB / 389.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2825, allocations: 0 / 389.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.2827, allocations: 60.06 kB / 389.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.283, allocations: 68.03 kB / 389.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.2848, allocations: 2.971 MB / 392.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.2852, allocations: 42.78 kB / 392.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2852, allocations: 9.188 kB / 392.7 MB, free: 1.535 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.0001638/0.2854, allocations: 171.4 kB / 392.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.2855, allocations: 54.19 kB / 392.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.2856, allocations: 60.09 kB / 393 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2856, allocations: 6.672 kB / 393 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2856, allocations: 0 / 393 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005222/0.2861, allocations: 0.6462 MB / 393.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.2874, allocations: 0.9084 MB / 394.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2874, allocations: 1.188 kB / 394.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.2877, allocations: 74.14 kB / 394.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2878, allocations: 2.141 kB / 394.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2878, allocations: 6 kB / 394.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2878, allocations: 2.375 kB / 394.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2878, allocations: 1.531 kB / 394.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.2887, allocations: 0.5332 MB / 395.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.2889, allocations: 166.3 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.289, allocations: 7.938 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2894, allocations: 14.5 kB / 395.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.2894, allocations: 20.06 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2895, allocations: 8.141 kB / 395.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004348/0.2899, allocations: 324 kB / 395.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2899, allocations: 0 / 395.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.2904, allocations: 133.7 kB / 395.8 MB, free: 15.51 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.001233/0.2916, allocations: 1.077 MB / 396.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2927, allocations: 0.5648 MB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2927, allocations: 1.062 kB / 397.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.2929, allocations: 127.9 kB / 397.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.2936, allocations: 126.9 kB / 397.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.3, allocations: 4.249 MB / 402 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3006, allocations: 0.8221 MB / 402.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.301, allocations: 59.47 kB / 402.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.3012, allocations: 165.3 kB / 403 MB, free: 10.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3012, allocations: 0 / 403 MB, free: 10.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.3489, allocations: 12.76 MB / 415.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.56, allocations: 7.953 kB / 415.8 MB, free: 4.625 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