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.001034/0.001034, 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.001068/0.001068, allocations: 187 kB / 18.66 MB, free: 4.406 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.261/1.261, 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.001168/0.001168, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08771, allocations: 46.61 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004763/0.09252, allocations: 3.493 MB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.09433, allocations: 0.99 MB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.09477, allocations: 4 kB / 379.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.09526, allocations: 107.1 kB / 379.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.09582, allocations: 186.4 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.09615, allocations: 123.8 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1822/0.2784, allocations: 0.635 MB / 380.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.2789, allocations: 191 kB / 380.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.2794, allocations: 239.8 kB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.28, allocations: 278 kB / 380.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.2802, allocations: 55 kB / 380.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.2805, allocations: 53.66 kB / 381 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2806, allocations: 118.1 kB / 381.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005106/0.2812, allocations: 293.5 kB / 381.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000936/0.2821, allocations: 0.6442 MB / 382 MB, free: 9.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2821, allocations: 0 / 382 MB, free: 9.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2821, allocations: 4.969 kB / 382 MB, free: 9.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.2822, allocations: 0 / 382 MB, free: 9.105 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.001471/0.2836, allocations: 0.8381 MB / 382.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2837, allocations: 9.031 kB / 382.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.2838, allocations: 87.06 kB / 382.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.284, allocations: 64.25 kB / 383 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.2846, allocations: 398.8 kB / 383.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.722e-05/0.2847, allocations: 59.17 kB / 383.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.2848, allocations: 34.09 kB / 383.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.2854, allocations: 468.5 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2854, allocations: 3.938 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.2855, allocations: 23.02 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2855, allocations: 7.469 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.2861, allocations: 283.5 kB / 384.2 MB, free: 7.992 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.002342/0.2885, allocations: 1.303 MB / 385.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2896, allocations: 434.6 kB / 386 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2899, allocations: 139.1 kB / 386.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.29, allocations: 10.31 kB / 386.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.29, allocations: 46.67 kB / 386.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.29, allocations: 0 / 386.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001105/0.2911, allocations: 0.6011 MB / 386.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.2912, allocations: 447.9 kB / 387.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.2918, allocations: 449.9 kB / 387.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2918, allocations: 36.7 kB / 387.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.292, allocations: 239.4 kB / 387.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.2921, allocations: 110.8 kB / 388 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2922, allocations: 79.69 kB / 388.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.2923, allocations: 356.6 kB / 388.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.2925, allocations: 104.3 kB / 388.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.2928, allocations: 258.2 kB / 388.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.2933, allocations: 275.1 kB / 389.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2933, allocations: 1.062 kB / 389.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007245/0.294, allocations: 417.6 kB / 389.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.2941, allocations: 33 kB / 389.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2941, allocations: 1.406 kB / 389.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.2942, allocations: 61.97 kB / 389.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.2946, allocations: 61.62 kB / 389.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.2965, allocations: 2.967 MB / 392.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2969, allocations: 39.42 kB / 392.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.2969, allocations: 12.47 kB / 392.7 MB, free: 1.598 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.0001749/0.2971, allocations: 173.2 kB / 392.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.2972, allocations: 54.05 kB / 392.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.2973, allocations: 54.34 kB / 392.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2973, allocations: 7.938 kB / 392.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2973, allocations: 96 / 392.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00058/0.2979, allocations: 0.6506 MB / 393.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.2992, allocations: 0.9009 MB / 394.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2992, allocations: 3.375 kB / 394.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.2995, allocations: 72.44 kB / 394.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2995, allocations: 0.5625 kB / 394.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.2996, allocations: 16.19 kB / 394.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2996, allocations: 3.938 kB / 394.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2996, allocations: 1 kB / 394.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.3004, allocations: 0.5148 MB / 395.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.3007, allocations: 165.8 kB / 395.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.3007, allocations: 7.844 kB / 395.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.301, allocations: 17.52 kB / 395.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.3011, allocations: 19.09 kB / 395.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3011, allocations: 10.44 kB / 395.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004034/0.3015, allocations: 319.4 kB / 395.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3015, allocations: 1.125 kB / 395.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.302, allocations: 132.3 kB / 395.8 MB, free: 15.56 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.001207/0.3032, allocations: 1.074 MB / 396.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.3041, allocations: 0.5635 MB / 397.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3042, allocations: 1.156 kB / 397.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.3044, allocations: 126.8 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.0006552/0.3051, allocations: 127.4 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.006078/0.3112, allocations: 4.235 MB / 401.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.3117, allocations: 0.8209 MB / 402.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.3121, allocations: 59.47 kB / 402.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.3124, allocations: 161.5 kB / 402.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3124, allocations: 4 kB / 402.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/0.3566, allocations: 13.02 MB / 415.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 15.83 kB / 416 MB, free: 4.445 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