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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 192.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 48.02 kB / 371.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1973, allocations: 52.18 MB / 423.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00556/0.2028, allocations: 4.99 MB / 428.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2046, allocations: 1.289 MB / 429.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2048, allocations: 11.94 kB / 429.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.2052, allocations: 170.5 kB / 429.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.2057, allocations: 329.3 kB / 430.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2061, allocations: 219.6 kB / 430.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.2073, allocations: 1.163 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.2076, allocations: 230.6 kB / 431.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.208, allocations: 458.4 kB / 432.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.2086, allocations: 0.4942 MB / 432.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2087, allocations: 107.9 kB / 432.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2088, allocations: 104 kB / 432.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.209, allocations: 223.2 kB / 433.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.2095, allocations: 0.5134 MB / 433.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2105, allocations: 1.184 MB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2105, allocations: 3.984 kB / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2105, allocations: 0 / 434.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2105, allocations: 3.938 kB / 434.9 MB, free: 3.188 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.002121/0.2127, allocations: 1.265 MB / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2127, allocations: 8.031 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.394e-05/0.2127, allocations: 25.48 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.2129, allocations: 123.8 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.2131, allocations: 120.3 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.2138, allocations: 0.4953 MB / 436.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.2141, allocations: 305.2 kB / 437.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.2142, allocations: 72.08 kB / 437.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2156, allocations: 0.8783 MB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.2156, allocations: 7.984 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.2157, allocations: 32 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.2157, allocations: 16 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2169, allocations: 0.5828 MB / 438.8 MB, free: 15.02 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.003394/0.2203, allocations: 2.195 MB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.222, allocations: 0.7414 MB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.2227, allocations: 374.4 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.2227, allocations: 20.98 kB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2227, allocations: 47.56 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 1.944e-06/0.2227, allocations: 0 / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01437/0.2371, allocations: 5.338 MB / 447.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007593/0.2447, allocations: 4.794 MB / 452.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.2455, allocations: 0.6449 MB / 452.9 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.2456, allocations: 49.7 kB / 453 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.2459, allocations: 330 kB / 453.3 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.2463, allocations: 484 kB / 453.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.2467, allocations: 230.9 kB / 454 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2469, allocations: 402.7 kB / 454.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.248, allocations: 0.5999 MB / 455 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.2495, allocations: 0.9133 MB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.2518, allocations: 1.333 MB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2518, allocations: 0 / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005364/0.2572, allocations: 2.222 MB / 459.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.2572, allocations: 89.11 kB / 459.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2572, allocations: 3.938 kB / 459.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.2597, allocations: 0.7247 MB / 460.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.2606, allocations: 199.7 kB / 460.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.2768, allocations: 13.37 MB / 473.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.2786, allocations: 171.8 kB / 474 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.2788, allocations: 47.95 kB / 474.1 MB, free: 10.09 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.0004567/0.2792, allocations: 258 kB / 474.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.2794, allocations: 111.3 kB / 474.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.2797, allocations: 118.1 kB / 474.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00512/0.2848, allocations: 2.029 MB / 476.6 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.2848, allocations: 4 kB / 476.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005039/0.2898, allocations: 2.375 MB / 478.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/0.2983, allocations: 4.186 MB / 483.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2983, allocations: 4 kB / 483.1 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.2991, allocations: 183.7 kB / 483.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.3026, allocations: 1.079 MB / 484.4 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.99e-05/0.3027, allocations: 39.89 kB / 484.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.3201, allocations: 12.41 MB / 496.8 MB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006578/0.3267, allocations: 3.709 MB / 0.4888 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/0.3333, allocations: 3.023 MB / 0.4918 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.3339, allocations: 251.2 kB / 0.492 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3341, allocations: 32 kB / 0.492 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.3353, allocations: 104 kB / 0.4921 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.3356, allocations: 140.9 kB / 0.4923 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.3357, allocations: 47.89 kB / 0.4923 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005458/0.3362, allocations: 463 kB / 0.4928 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3362, allocations: 0 / 0.4928 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001554/0.3378, allocations: 0.5781 MB / 0.4933 GB, free: 9.863 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.006932/0.3447, allocations: 3.606 MB / 0.4968 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.3486, allocations: 2.592 MB / 0.4994 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3486, allocations: 0 / 0.4994 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003373/0.352, allocations: 1.733 MB / 0.5011 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3531, allocations: 250.4 kB / 0.5013 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.3738, allocations: 11.55 MB / 0.5126 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.3745, allocations: 1.041 MB / 0.5136 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005578/0.3751, allocations: 152.4 kB / 0.5137 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.3757, allocations: 399.2 kB / 0.5141 GB, free: 4.02 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3757, allocations: 0 / 0.5141 GB, free: 4.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2673/0.643, allocations: 40.6 MB / 0.5538 GB, free: 128.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.08, allocations: 3.781 kB / 0.5538 GB, free: 128.8 MB / 462.1 MB " [Timeout remaining time 645] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.432591290969867]