Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 67.88 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.235, allocations: 50.55 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005572/0.2406, allocations: 4.943 MB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.243, allocations: 1.306 MB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.2435, allocations: 15.88 kB / 415 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.244, allocations: 170.5 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008471/0.2449, allocations: 321.2 kB / 415.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2454, allocations: 227.6 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.2467, allocations: 1.157 MB / 416.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/0.2471, allocations: 322 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.2477, allocations: 462.4 kB / 417.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.2483, allocations: 0.4902 MB / 418.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2485, allocations: 100 kB / 418.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.2488, allocations: 104 kB / 418.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.2489, allocations: 219.2 kB / 418.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.2496, allocations: 0.5172 MB / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.2506, allocations: 1.18 MB / 420.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2506, allocations: 0 / 420.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2507, allocations: 3.938 kB / 420.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.856e-05/0.2507, allocations: 0 / 420.3 MB, free: 5.949 MB / 334.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.002354/0.2531, allocations: 1.313 MB / 421.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2531, allocations: 8.031 kB / 421.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.2533, allocations: 123.9 kB / 421.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.2535, allocations: 111.7 kB / 421.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.2542, allocations: 0.559 MB / 422.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.2544, allocations: 142.9 kB / 422.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.2545, allocations: 64.38 kB / 422.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2557, allocations: 0.8548 MB / 423.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2557, allocations: 4 kB / 423.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.2558, allocations: 28 kB / 423.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2558, allocations: 15.98 kB / 423.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2568, allocations: 0.5634 MB / 424 MB, free: 1.93 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.003089/0.2599, allocations: 2.119 MB / 426.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2616, allocations: 0.9631 MB / 427.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.2622, allocations: 370.7 kB / 427.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.2623, allocations: 20.72 kB / 427.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2623, allocations: 55.16 kB / 427.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.525e-06/0.2623, allocations: 0 / 427.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004607/0.2669, allocations: 1.738 MB / 429.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002909/0.2672, allocations: 0.8195 MB / 430.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.268, allocations: 0.641 MB / 430.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.2681, allocations: 45.7 kB / 430.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.2683, allocations: 340.9 kB / 431.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.2685, allocations: 256.2 kB / 431.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.2687, allocations: 146.8 kB / 431.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2689, allocations: 386.7 kB / 431.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.2694, allocations: 249.8 kB / 432.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.2701, allocations: 0.5312 MB / 432.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.2711, allocations: 0.6388 MB / 433.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2712, allocations: 0 / 433.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00226/0.2734, allocations: 1.048 MB / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.2735, allocations: 85.11 kB / 434.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2735, allocations: 0 / 434.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.2742, allocations: 231.3 kB / 434.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.2747, allocations: 127.8 kB / 434.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007255/0.282, allocations: 6.936 MB / 441.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007753/0.2828, allocations: 95.38 kB / 441.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.2829, allocations: 20.19 kB / 441.8 MB, free: 14.85 MB / 366.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.0003437/0.2832, allocations: 221.7 kB / 442.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.2834, allocations: 94.91 kB / 442.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.2836, allocations: 95.33 kB / 442.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2836, allocations: 4 kB / 442.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2836, allocations: 4 kB / 442.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002055/0.2857, allocations: 1.186 MB / 443.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.2892, allocations: 1.87 MB / 445.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2892, allocations: 4 kB / 445.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.2898, allocations: 123.9 kB / 445.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/0.2903, allocations: 202.5 kB / 445.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.2904, allocations: 19.98 kB / 445.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005861/0.2962, allocations: 5.307 MB / 451 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2963, allocations: 7.969 kB / 451 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.299, allocations: 1.312 MB / 452.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.2994, allocations: 243.9 kB / 452.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.2996, allocations: 23.94 kB / 452.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/0.3002, allocations: 39.91 kB / 452.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3004, allocations: 56.58 kB / 452.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.3005, allocations: 19.98 kB / 452.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005681/0.301, allocations: 459.1 kB / 453.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.301, allocations: 4 kB / 453.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009459/0.302, allocations: 283.7 kB / 453.4 MB, free: 2.637 MB / 366.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.003084/0.3051, allocations: 1.887 MB / 455.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.3071, allocations: 1.301 MB / 456.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3071, allocations: 0 / 456.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.308, allocations: 0.695 MB / 457.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3091, allocations: 230.9 kB / 457.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.321, allocations: 7.413 MB / 464.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.3216, allocations: 0.94 MB / 465.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004428/0.322, allocations: 106.4 kB / 465.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.3224, allocations: 291.3 kB / 466.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3224, allocations: 0 / 466.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.378, allocations: 26.05 MB / 492.3 MB, free: 11.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.77, allocations: 15.05 kB / 492.3 MB, free: 11.71 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches