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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.89 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09358, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.1729/0.2665, allocations: 4.966 MB / 431.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2688, allocations: 1.314 MB / 432.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.2692, allocations: 10.75 kB / 433 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.2695, allocations: 165.1 kB / 433.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.2701, allocations: 328.8 kB / 433.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2705, allocations: 226.9 kB / 433.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009051/0.2714, allocations: 1.158 MB / 434.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.2717, allocations: 228.7 kB / 435 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.2721, allocations: 450.8 kB / 435.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.2726, allocations: 0.4979 MB / 436 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.2727, allocations: 101 kB / 436.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.2729, allocations: 104.4 kB / 436.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.2731, allocations: 219.3 kB / 436.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.2735, allocations: 0.5155 MB / 436.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2748, allocations: 1.185 MB / 438.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2748, allocations: 1.219 kB / 438.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2748, allocations: 0 / 438.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.2748, allocations: 0 / 438.1 MB, free: 6.129 MB / 350.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.002072/0.2769, allocations: 1.339 MB / 439.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2769, allocations: 11.53 kB / 439.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.2771, allocations: 122.3 kB / 439.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.2773, allocations: 116 kB / 439.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/0.2781, allocations: 0.5604 MB / 440.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.2782, allocations: 145.4 kB / 440.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.2783, allocations: 61.31 kB / 440.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2795, allocations: 0.8589 MB / 441.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2795, allocations: 5.125 kB / 441.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.2796, allocations: 32.88 kB / 441.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2796, allocations: 13.75 kB / 441.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2807, allocations: 0.5601 MB / 441.9 MB, free: 3.758 MB / 350.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.003237/0.2839, allocations: 2.139 MB / 444 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.2854, allocations: 0.9165 MB / 445 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.286, allocations: 337.7 kB / 445.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.2861, allocations: 19.86 kB / 445.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2861, allocations: 49.84 kB / 445.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.404e-06/0.2861, allocations: 0 / 445.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004446/0.2905, allocations: 1.739 MB / 447.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.2907, allocations: 0.8221 MB / 447.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.2915, allocations: 0.6353 MB / 448.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.2916, allocations: 45.27 kB / 448.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2919, allocations: 343.2 kB / 448.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.2921, allocations: 272 kB / 449.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.2924, allocations: 145.1 kB / 449.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.2926, allocations: 385 kB / 449.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.2931, allocations: 246.4 kB / 450 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/0.2939, allocations: 0.5321 MB / 450.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.295, allocations: 0.6336 MB / 451.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.295, allocations: 3.938 kB / 451.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00242/0.2975, allocations: 1.047 MB / 452.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.2975, allocations: 85.91 kB / 452.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2975, allocations: 0 / 452.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/0.2982, allocations: 235.9 kB / 452.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.2988, allocations: 128.9 kB / 452.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.3069, allocations: 6.923 MB / 459.5 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/0.3079, allocations: 102.4 kB / 459.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.3079, allocations: 23.14 kB / 459.7 MB, free: 6.895 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.0003856/0.3083, allocations: 214.8 kB / 459.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.3085, allocations: 94.27 kB / 460 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.3087, allocations: 95.56 kB / 460.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3087, allocations: 11.31 kB / 460.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3087, allocations: 2.156 kB / 460.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/0.3108, allocations: 1.182 MB / 461.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.3145, allocations: 1.869 MB / 463.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3145, allocations: 1.125 kB / 463.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.315, allocations: 132.4 kB / 463.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/0.3156, allocations: 198.6 kB / 463.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.3156, allocations: 17.59 kB / 463.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006134/0.3217, allocations: 5.313 MB / 468.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3217, allocations: 1 kB / 468.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.3246, allocations: 1.321 MB / 470.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.325, allocations: 245.7 kB / 470.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.3252, allocations: 20.84 kB / 470.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.3257, allocations: 46.3 kB / 470.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.3259, allocations: 56.69 kB / 470.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.3259, allocations: 17.62 kB / 470.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.3265, allocations: 462.7 kB / 470.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3265, allocations: 4 kB / 470.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008612/0.3273, allocations: 285 kB / 471.2 MB, free: 14.24 MB / 382.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.003086/0.3304, allocations: 1.878 MB / 473.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.3324, allocations: 1.267 MB / 474.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3324, allocations: 2.531 kB / 474.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009511/0.3333, allocations: 0.6717 MB / 475 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.3343, allocations: 235.3 kB / 475.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.3463, allocations: 7.428 MB / 482.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.3469, allocations: 0.94 MB / 483.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005136/0.3474, allocations: 106.4 kB / 483.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.3479, allocations: 299.3 kB / 484 MB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3479, allocations: 0 / 484 MB, free: 4.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/0.4152, allocations: 25.58 MB / 0.4977 GB, free: 11.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.09, allocations: 10.69 kB / 0.4977 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.448399649001658]