Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_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.0006745/0.0006746, allocations: 91.34 kB / 16.65 MB, free: 6.586 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.000702/0.0007021, allocations: 183 kB / 17.56 MB, free: 6.203 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.154/1.154, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002111/0.0002112, allocations: 8 kB / 301.5 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07386, allocations: 50.41 MB / 351.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004003/0.07789, allocations: 4.55 MB / 356.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.07983, allocations: 1.215 MB / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.08019, allocations: 11.94 kB / 357.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.08054, allocations: 127.1 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.08117, allocations: 281.8 kB / 358.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.08154, allocations: 191.8 kB / 358.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.08255, allocations: 1.11 MB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.08292, allocations: 298.6 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.08334, allocations: 398.4 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.08385, allocations: 466 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.08398, allocations: 67.94 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.08413, allocations: 68 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.08427, allocations: 187.2 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.08469, allocations: 0.4954 MB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.08549, allocations: 1.109 MB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.0855, allocations: 4 kB / 362.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08551, allocations: 0 / 362.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.08553, allocations: 0 / 362.5 MB, free: 9.016 MB / 302.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.001778/0.08732, allocations: 1.158 MB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.08736, allocations: 8.031 kB / 363.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.08753, allocations: 123.9 kB / 363.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.08771, allocations: 111.7 kB / 363.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.08836, allocations: 0.5473 MB / 364.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.08855, allocations: 151 kB / 364.6 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.08864, allocations: 60.38 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.08986, allocations: 0.8743 MB / 365.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.08988, allocations: 0 / 365.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.08995, allocations: 28 kB / 365.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.08997, allocations: 20 kB / 365.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.09109, allocations: 0.5907 MB / 366.1 MB, free: 5.113 MB / 302.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.002929/0.09403, allocations: 2.158 MB / 368.3 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.09567, allocations: 0.9933 MB / 369.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.09634, allocations: 391 kB / 369.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.0964, allocations: 16.72 kB / 369.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.09644, allocations: 59.09 kB / 369.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.753e-06/0.09645, allocations: 0 / 369.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1353/0.2318, allocations: 1.881 MB / 371.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.232, allocations: 0.8224 MB / 372.4 MB, free: 23.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.2328, allocations: 0.6381 MB / 373.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.2329, allocations: 46.52 kB / 373.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.2331, allocations: 336.7 kB / 373.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2333, allocations: 254.7 kB / 373.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.2334, allocations: 60.7 kB / 373.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2335, allocations: 390 kB / 374.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.2341, allocations: 256.5 kB / 374.4 MB, free: 22.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.2348, allocations: 0.5461 MB / 374.9 MB, free: 22.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.2359, allocations: 0.6549 MB / 375.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2359, allocations: 1.219 kB / 375.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002187/0.2381, allocations: 1.115 MB / 376.7 MB, free: 22.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.2382, allocations: 85.23 kB / 376.8 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2382, allocations: 0.6094 kB / 376.8 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.2388, allocations: 245.9 kB / 377 MB, free: 21.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.2393, allocations: 135.4 kB / 377.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.245, allocations: 6.502 MB / 383.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.2457, allocations: 110.7 kB / 383.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.2457, allocations: 23.83 kB / 383.8 MB, free: 15.99 MB / 302.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.0002418/0.246, allocations: 220.5 kB / 384 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2461, allocations: 84.44 kB / 384.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.2462, allocations: 92.06 kB / 384.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2463, allocations: 11.31 kB / 384.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2463, allocations: 0 / 384.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/0.2482, allocations: 1.253 MB / 385.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.2515, allocations: 1.942 MB / 387.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2516, allocations: 0 / 387.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.2521, allocations: 130.7 kB / 387.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.2526, allocations: 212.5 kB / 387.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.2527, allocations: 15.23 kB / 387.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.2571, allocations: 5.009 MB / 392.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2571, allocations: 1.75 kB / 392.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.2597, allocations: 1.395 MB / 394.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.2599, allocations: 235.7 kB / 394.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.26, allocations: 20.5 kB / 394.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.2606, allocations: 56.92 kB / 394.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2608, allocations: 58.23 kB / 394.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.2608, allocations: 19.27 kB / 394.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004956/0.2613, allocations: 458.4 kB / 395 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2613, allocations: 0 / 395 MB, free: 8.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000758/0.2621, allocations: 288.2 kB / 395.3 MB, free: 8.395 MB / 302.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.002634/0.2647, allocations: 1.975 MB / 397.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.2662, allocations: 1.309 MB / 398.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.2662, allocations: 2.75 kB / 398.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.2669, allocations: 0.7043 MB / 399.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.2678, allocations: 213.2 kB / 399.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/0.2776, allocations: 8.427 MB / 407.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.278, allocations: 0.944 MB / 408.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.2784, allocations: 102.4 kB / 408.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.2788, allocations: 295.3 kB / 409.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2788, allocations: 0 / 409.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.805/2.084, allocations: 23.49 MB / 432.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/2.084, allocations: 251.3 kB / 433 MB, free: 6.023 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/4.385, allocations: 3.938 kB / 433 MB, free: 6.02 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches