Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.001462/0.001462, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001508/0.001508, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.373/1.373, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001712/0.001712, allocations: 59.91 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08578, allocations: 46.63 MB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00621/0.09203, allocations: 4.925 MB / 379.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.2538, allocations: 1.326 MB / 380.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.2542, allocations: 11.25 kB / 380.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.2546, allocations: 159.3 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.2553, allocations: 321.4 kB / 381.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.2558, allocations: 227.7 kB / 381.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.2571, allocations: 1.153 MB / 382.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.2577, allocations: 332.2 kB / 383.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.2583, allocations: 449.9 kB / 383.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.2589, allocations: 0.4971 MB / 384 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.259, allocations: 102.5 kB / 384.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2592, allocations: 107.5 kB / 384.2 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.2594, allocations: 219.6 kB / 384.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.2598, allocations: 0.5121 MB / 385 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.261, allocations: 1.19 MB / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2611, allocations: 0 / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2611, allocations: 0 / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.2611, allocations: 0 / 386.1 MB, free: 7.441 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00234/0.2634, allocations: 1.339 MB / 387.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2635, allocations: 10.47 kB / 387.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.2637, allocations: 118.9 kB / 387.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.2639, allocations: 116.5 kB / 387.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.2647, allocations: 0.5547 MB / 388.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.2649, allocations: 148.1 kB / 388.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.265, allocations: 61.78 kB / 388.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2663, allocations: 0.8585 MB / 389.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2664, allocations: 0 / 389.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.2664, allocations: 30.31 kB / 389.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2664, allocations: 17.62 kB / 389.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2676, allocations: 0.5603 MB / 389.9 MB, free: 5.078 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.003168/0.2708, allocations: 2.145 MB / 392.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2724, allocations: 0.9588 MB / 393.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.2731, allocations: 373.4 kB / 393.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.2732, allocations: 12.94 kB / 393.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.2732, allocations: 66.89 kB / 393.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.2732, allocations: 4 kB / 393.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004703/0.2779, allocations: 1.732 MB / 395.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.2781, allocations: 0.8229 MB / 396.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.2788, allocations: 0.6379 MB / 396.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.104e-05/0.2789, allocations: 45.52 kB / 396.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2792, allocations: 343.9 kB / 397.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.2793, allocations: 263.6 kB / 397.3 MB, free: 456 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.2796, allocations: 146 kB / 397.5 MB, free: 384 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2797, allocations: 388.4 kB / 397.9 MB, free: 28 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.2804, allocations: 264.1 kB / 398.1 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.2812, allocations: 0.5272 MB / 398.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.2824, allocations: 0.6322 MB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2824, allocations: 5.281 kB / 399.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002438/0.2849, allocations: 1.054 MB / 400.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.285, allocations: 86.84 kB / 400.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.285, allocations: 5.375 kB / 400.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007066/0.2857, allocations: 235.4 kB / 400.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.2863, allocations: 128.3 kB / 400.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008565/0.2949, allocations: 6.931 MB / 407.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.296, allocations: 97.89 kB / 407.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.296, allocations: 20.31 kB / 407.8 MB, free: 8.195 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 (70): * Single equations (assignments): 63 * 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.0004345/0.2965, allocations: 228.3 kB / 408 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.2967, allocations: 97.16 kB / 408.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.2969, allocations: 94.48 kB / 408.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2969, allocations: 7.781 kB / 408.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2969, allocations: 0 / 408.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/0.2993, allocations: 1.183 MB / 409.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.3032, allocations: 1.88 MB / 411.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3032, allocations: 1.219 kB / 411.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.3038, allocations: 132.1 kB / 411.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/0.3044, allocations: 197.4 kB / 411.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.3045, allocations: 18.17 kB / 411.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.3114, allocations: 5.313 MB / 417 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3114, allocations: 1.344 kB / 417 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.3146, allocations: 1.311 MB / 418.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.3151, allocations: 252.5 kB / 418.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3153, allocations: 20.12 kB / 418.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.3159, allocations: 44.69 kB / 418.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3161, allocations: 59.2 kB / 418.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.3161, allocations: 29.67 kB / 418.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000561/0.3167, allocations: 453.8 kB / 419.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3167, allocations: 0 / 419.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009009/0.3176, allocations: 285.1 kB / 419.4 MB, free: 15.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.003324/0.3209, allocations: 1.9 MB / 421.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.3231, allocations: 1.29 MB / 422.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.3231, allocations: 2.156 kB / 422.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.3242, allocations: 0.6953 MB / 423.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3253, allocations: 238.2 kB / 423.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.339, allocations: 7.457 MB / 431 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.3397, allocations: 0.94 MB / 431.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005394/0.3402, allocations: 110.3 kB / 432 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.3407, allocations: 295.3 kB / 432.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3407, allocations: 3.938 kB / 432.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07291/0.4136, allocations: 25.42 MB / 457.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.52, allocations: 7.734 kB / 457.7 MB, free: 9.371 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches