Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 112.2 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 51.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2032, allocations: 53.36 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005749/0.209, allocations: 4.979 MB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.2113, allocations: 1.328 MB / 438.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.2115, allocations: 11.94 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.2119, allocations: 166.5 kB / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.2125, allocations: 329.2 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.2129, allocations: 227.8 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.214, allocations: 1.164 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.2144, allocations: 234 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.2148, allocations: 454.4 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.2154, allocations: 0.498 MB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.2156, allocations: 104 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.2157, allocations: 104 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.2159, allocations: 219.2 kB / 441.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.2164, allocations: 0.5134 MB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.2175, allocations: 1.188 MB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2175, allocations: 0 / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2175, allocations: 3.938 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.2175, allocations: 0 / 443.4 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.002209/0.2197, allocations: 1.265 MB / 444.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2197, allocations: 12.03 kB / 444.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.214e-05/0.2198, allocations: 25.48 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.22, allocations: 123.9 kB / 444.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2201, allocations: 120.3 kB / 444.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.2209, allocations: 0.4953 MB / 445.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.2212, allocations: 309.2 kB / 445.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.2213, allocations: 68.12 kB / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2227, allocations: 0.8712 MB / 446.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2227, allocations: 15.83 kB / 446.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.2228, allocations: 32 kB / 446.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2228, allocations: 16 kB / 446.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.224, allocations: 0.5868 MB / 447.3 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.00347/0.2275, allocations: 2.199 MB / 449.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2292, allocations: 0.7415 MB / 450.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.2299, allocations: 370.2 kB / 450.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.2299, allocations: 21.06 kB / 450.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.23, allocations: 51.5 kB / 450.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.435e-06/0.23, allocations: 0 / 450.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01451/0.2445, allocations: 5.342 MB / 456 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008031/0.2525, allocations: 4.785 MB / 460.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.2533, allocations: 0.641 MB / 461.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.2535, allocations: 53.64 kB / 461.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.2538, allocations: 342 kB / 461.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.2543, allocations: 479.8 kB / 462.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/0.2547, allocations: 230.9 kB / 462.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.2549, allocations: 406.7 kB / 463 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.2561, allocations: 0.596 MB / 463.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.2576, allocations: 0.9133 MB / 464.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.2601, allocations: 1.33 MB / 465.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2601, allocations: 0 / 465.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005566/0.2656, allocations: 2.21 MB / 468 MB, free: 1.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/0.2657, allocations: 95.75 kB / 468.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2657, allocations: 7.875 kB / 468.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.2683, allocations: 0.7209 MB / 468.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.2692, allocations: 203.7 kB / 469 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.2864, allocations: 13.37 MB / 482.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.2883, allocations: 175.7 kB / 482.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2884, allocations: 51.95 kB / 482.6 MB, free: 2.207 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.0005111/0.2889, allocations: 245.7 kB / 482.8 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.2891, allocations: 111.6 kB / 483 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.2894, allocations: 126 kB / 483.1 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00545/0.2948, allocations: 2.033 MB / 485.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2948, allocations: 4 kB / 485.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005447/0.3003, allocations: 2.379 MB / 487.5 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.3095, allocations: 4.182 MB / 491.7 MB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3095, allocations: 4 kB / 491.7 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.3103, allocations: 179.8 kB / 491.9 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/0.314, allocations: 1.091 MB / 492.9 MB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3141, allocations: 31.91 kB / 493 MB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.3327, allocations: 12.41 MB / 0.4935 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006958/0.3396, allocations: 3.717 MB / 0.4972 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006952/0.3466, allocations: 3.016 MB / 0.5001 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.3473, allocations: 251.2 kB / 0.5004 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.3475, allocations: 28 kB / 0.5004 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.3486, allocations: 111.9 kB / 0.5005 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003716/0.349, allocations: 129 kB / 0.5006 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.3491, allocations: 43.95 kB / 0.5007 GB, free: 3.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005917/0.3497, allocations: 463 kB / 0.5011 GB, free: 2.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 0.5011 GB, free: 2.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001638/0.3513, allocations: 0.5742 MB / 0.5017 GB, free: 2 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.007235/0.3586, allocations: 3.617 MB / 0.5052 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.3627, allocations: 2.576 MB / 0.5077 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.3627, allocations: 7.938 kB / 0.5077 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.3663, allocations: 1.733 MB / 0.5094 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.3676, allocations: 255 kB / 0.5097 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/0.3902, allocations: 11.54 MB / 0.5209 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.3911, allocations: 1.053 MB / 0.522 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006347/0.3917, 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.0006599/0.3924, allocations: 399.2 kB / 0.5225 GB, free: 12.15 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3924, allocations: 0 / 0.5225 GB, free: 12.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2621/0.6545, allocations: 40.59 MB / 0.5621 GB, free: 118.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.25, allocations: 4.75 kB / 0.5621 GB, free: 118.5 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.665863661968615]