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.001556/0.001556, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001871/0.001871, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 7.797 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="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.001725/0.001725, allocations: 59.91 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2122, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005613/0.2178, allocations: 4.421 MB / 436.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2202, allocations: 1.266 MB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.2206, allocations: 11.94 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.2211, allocations: 158.6 kB / 437.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.2219, allocations: 333.2 kB / 438.1 MB, free: 260 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.2223, allocations: 227.7 kB / 438.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2235, allocations: 1.153 MB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.2239, allocations: 226.5 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.2243, allocations: 462.4 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.2249, allocations: 0.5018 MB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2251, allocations: 100 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2252, allocations: 108 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.2254, allocations: 219.3 kB / 441.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.2259, allocations: 450.1 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.227, allocations: 1.195 MB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.227, allocations: 4 kB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2271, allocations: 0 / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.2271, allocations: 0 / 442.7 MB, free: 11.62 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.002251/0.2293, allocations: 1.265 MB / 444 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2294, allocations: 8.031 kB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.848e-05/0.2294, allocations: 21.48 kB / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.2296, allocations: 127.9 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2298, allocations: 120.3 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.2306, allocations: 0.4953 MB / 444.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.2309, allocations: 301.2 kB / 445 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.231, allocations: 76.09 kB / 445.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.2328, allocations: 1.635 MB / 446.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2328, allocations: 3.953 kB / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.2329, allocations: 32 kB / 446.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2329, allocations: 16 kB / 446.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.2341, allocations: 0.5829 MB / 447.4 MB, free: 6.516 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.003452/0.2375, allocations: 1.784 MB / 449.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.2392, allocations: 0.7414 MB / 449.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.2399, allocations: 378.2 kB / 450.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.24, allocations: 16.98 kB / 450.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.24, allocations: 47.56 kB / 450.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.364e-06/0.24, allocations: 0 / 450.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01524/0.2553, allocations: 5.335 MB / 455.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007915/0.2632, allocations: 4.705 MB / 460.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.2641, allocations: 0.6488 MB / 461 MB, free: 8.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.2643, allocations: 49.7 kB / 461.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.2646, allocations: 337.9 kB / 461.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/0.2651, allocations: 479.8 kB / 461.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.2656, allocations: 230.9 kB / 462.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.2658, allocations: 402.7 kB / 462.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.267, allocations: 0.6791 MB / 463.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.269, allocations: 1.749 MB / 464.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.2713, allocations: 1.33 MB / 466.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2713, allocations: 0 / 466.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00568/0.277, allocations: 2.305 MB / 468.5 MB, free: 464 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.2771, allocations: 85.11 kB / 468.6 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.2771, allocations: 0 / 468.6 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/0.2797, allocations: 0.7286 MB / 469.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.2806, allocations: 199.9 kB / 469.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/0.2983, allocations: 13.28 MB / 482.8 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.3001, allocations: 171.8 kB / 483 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.3003, allocations: 51.94 kB / 483 MB, free: 0.9922 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.0005874/0.3009, allocations: 254.4 kB / 483.3 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3012, allocations: 111.3 kB / 483.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.3015, allocations: 118.1 kB / 483.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005601/0.3071, allocations: 2.025 MB / 485.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.3071, allocations: 4 kB / 485.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005434/0.3125, allocations: 2.379 MB / 487.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009347/0.3218, allocations: 3.808 MB / 491.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3219, allocations: 0 / 491.7 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.3227, allocations: 183.8 kB / 491.9 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/0.3264, allocations: 1.078 MB / 493 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.3266, allocations: 39.89 kB / 493 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/0.3454, allocations: 12.29 MB / 0.4935 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007063/0.3524, allocations: 3.658 MB / 0.497 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/0.3596, allocations: 3.008 MB / 0.5 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.3604, allocations: 255.2 kB / 0.5002 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.3607, allocations: 32 kB / 0.5003 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.3619, allocations: 99.86 kB / 0.5003 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.3624, allocations: 144.9 kB / 0.5005 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.3625, allocations: 47.89 kB / 0.5005 GB, free: 2.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000679/0.3632, allocations: 455.1 kB / 0.501 GB, free: 1.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 0 / 0.501 GB, free: 1.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001923/0.3651, allocations: 0.582 MB / 0.5015 GB, free: 1.344 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.00727/0.3724, allocations: 3.606 MB / 0.5051 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.3767, allocations: 2.655 MB / 0.5076 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.3767, allocations: 4 kB / 0.5077 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.3802, allocations: 1.733 MB / 0.5093 GB, free: 9.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.3816, allocations: 247.2 kB / 0.5096 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/0.4049, allocations: 11.85 MB / 0.5212 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.4055, allocations: 461.8 kB / 0.5216 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007598/0.4063, allocations: 152.4 kB / 0.5217 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007109/0.407, allocations: 403.2 kB / 0.5221 GB, free: 11.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.407, allocations: 0 / 0.5221 GB, free: 11.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2729/0.6799, allocations: 41.92 MB / 0.5631 GB, free: 117.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.36, allocations: 10.05 kB / 0.5631 GB, free: 117.5 MB / 462.1 MB " [Timeout remaining time 644] (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.855350635945797]