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.001533/0.001533, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001624/0.001624, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.332/1.332, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 64.05 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2231, allocations: 53.41 MB / 432 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005793/0.2289, allocations: 4.991 MB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.231, allocations: 1.32 MB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.2312, allocations: 11.94 kB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.2316, allocations: 162.5 kB / 438.5 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.2321, allocations: 337.2 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.2325, allocations: 223.7 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.2336, allocations: 1.157 MB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.234, allocations: 227.6 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.2344, allocations: 458.4 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.235, allocations: 0.5019 MB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.2351, allocations: 104 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2353, allocations: 108 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.2354, allocations: 215.3 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.2359, allocations: 0.5133 MB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.237, allocations: 1.19 MB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.237, allocations: 0 / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.237, allocations: 4 kB / 443.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.237, allocations: 0 / 443.5 MB, free: 11.31 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.002163/0.2392, allocations: 1.261 MB / 444.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2392, allocations: 12.03 kB / 444.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.676e-05/0.2393, allocations: 21.48 kB / 444.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2394, allocations: 131.8 kB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2396, allocations: 120.3 kB / 445 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.2404, allocations: 0.4993 MB / 445.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.2407, allocations: 301.2 kB / 445.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2408, allocations: 72.11 kB / 445.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.2422, allocations: 0.8782 MB / 446.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2422, allocations: 7.938 kB / 446.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.2422, allocations: 32 kB / 446.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.2423, allocations: 12 kB / 446.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.2434, allocations: 0.5868 MB / 447.4 MB, free: 7.141 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.003443/0.2469, allocations: 2.191 MB / 449.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.2486, allocations: 0.7405 MB / 450.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.2493, allocations: 378.2 kB / 450.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.2494, allocations: 17.06 kB / 450.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.2494, allocations: 55.56 kB / 450.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.154e-06/0.2494, allocations: 0 / 450.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01456/0.264, allocations: 5.342 MB / 456.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007739/0.2717, allocations: 4.786 MB / 460.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.2725, allocations: 0.641 MB / 461.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.2726, allocations: 49.7 kB / 461.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.2729, allocations: 341.9 kB / 461.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.2733, allocations: 475.8 kB / 462.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.2737, allocations: 230.9 kB / 462.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.2739, allocations: 406.7 kB / 463 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.275, allocations: 0.596 MB / 463.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.2765, allocations: 0.9171 MB / 464.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.2788, allocations: 1.326 MB / 465.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2788, allocations: 0 / 465.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005329/0.2841, allocations: 2.221 MB / 468 MB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.2842, allocations: 87.61 kB / 468.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2842, allocations: 3.938 kB / 468.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.2867, allocations: 0.7209 MB / 468.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.2876, allocations: 203.7 kB / 469.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/0.3037, allocations: 13.37 MB / 482.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.3054, allocations: 172.1 kB / 482.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3056, allocations: 59.92 kB / 482.7 MB, free: 2.203 MB / 382.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 (112): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000448/0.306, allocations: 246.4 kB / 482.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.3062, allocations: 111.3 kB / 483 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.3064, allocations: 126.1 kB / 483.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005233/0.3117, allocations: 2.021 MB / 485.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.3117, allocations: 8 kB / 485.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00523/0.3169, allocations: 2.379 MB / 487.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008938/0.3259, allocations: 4.182 MB / 491.7 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3259, allocations: 96 / 491.7 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/0.3267, allocations: 187.8 kB / 491.9 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/0.3303, allocations: 1.078 MB / 493 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/0.3304, allocations: 39.89 kB / 493 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.3482, allocations: 12.42 MB / 0.4936 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006709/0.355, allocations: 3.72 MB / 0.4972 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00666/0.3616, allocations: 3.016 MB / 0.5002 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.3622, allocations: 251.2 kB / 0.5004 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.3624, allocations: 31.98 kB / 0.5004 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.3635, allocations: 99.88 kB / 0.5005 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.3639, allocations: 144.9 kB / 0.5007 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.364, allocations: 43.95 kB / 0.5007 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005458/0.3645, allocations: 463.1 kB / 0.5012 GB, free: 2.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3645, allocations: 192 / 0.5012 GB, free: 2.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001503/0.366, allocations: 0.5742 MB / 0.5017 GB, free: 1.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (3,3,88.9%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006962/0.373, allocations: 3.617 MB / 0.5052 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003995/0.377, allocations: 2.572 MB / 0.5078 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.377, allocations: 8.125 kB / 0.5078 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.3805, allocations: 1.73 MB / 0.5095 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3817, allocations: 250.9 kB / 0.5097 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.4028, allocations: 11.54 MB / 0.521 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.4035, allocations: 1.049 MB / 0.522 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006024/0.4041, allocations: 152.4 kB / 0.5221 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/0.4047, allocations: 399.2 kB / 0.5225 GB, free: 12.15 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4047, allocations: 4 kB / 0.5225 GB, free: 12.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2981/0.7028, allocations: 40.6 MB / 0.5622 GB, free: 118.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.06, allocations: 6.641 kB / 0.5622 GB, free: 118.4 MB / 462.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.48337505798554]