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.001257/0.001257, allocations: 120.1 kB / 18.49 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.001366/0.001366, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.416/1.416, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.001793/0.001793, allocations: 71.89 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09803, allocations: 53.36 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006094/0.1041, allocations: 4.986 MB / 432 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1067, allocations: 1.316 MB / 433.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.1072, allocations: 11.94 kB / 433.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.1077, allocations: 166.5 kB / 433.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007691/0.1084, allocations: 333.3 kB / 433.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1089, allocations: 223.6 kB / 434.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1103, allocations: 1.151 MB / 435.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.1107, allocations: 234 kB / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.1112, allocations: 458.5 kB / 435.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.1119, allocations: 0.5019 MB / 436.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.112, allocations: 100 kB / 436.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1122, allocations: 104 kB / 436.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1123, allocations: 215.2 kB / 436.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.1128, allocations: 0.5211 MB / 437.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1141, allocations: 1.187 MB / 438.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1141, allocations: 0 / 438.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1141, allocations: 0 / 438.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1141, allocations: 0 / 438.5 MB, free: 9.098 MB / 366.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.002386/0.1165, allocations: 1.336 MB / 439.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1165, allocations: 8.031 kB / 439.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.359e-05/0.1166, allocations: 25.48 kB / 439.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.1168, allocations: 119.9 kB / 440 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.117, allocations: 132.3 kB / 440.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008804/0.1178, allocations: 0.5596 MB / 440.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.118, allocations: 143 kB / 440.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1182, allocations: 76.06 kB / 440.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.1196, allocations: 0.8783 MB / 441.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.1196, allocations: 0 / 441.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.1197, allocations: 28 kB / 441.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1197, allocations: 19.94 kB / 441.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.121, allocations: 0.5829 MB / 442.4 MB, free: 4.957 MB / 366.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.003899/0.1249, allocations: 2.245 MB / 444.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.1268, allocations: 0.9576 MB / 445.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/0.1276, allocations: 374.3 kB / 446 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.1276, allocations: 21 kB / 446 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1277, allocations: 51.56 kB / 446.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 5.14e-06/0.1277, allocations: 3.984 kB / 446.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.1868/0.3144, allocations: 5.7 MB / 451.8 MB, free: 23.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007346/0.3218, allocations: 4.889 MB / 456.7 MB, free: 19.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.3227, allocations: 0.6351 MB / 457.3 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.323, allocations: 52.39 kB / 457.3 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.3232, allocations: 340 kB / 457.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.3235, allocations: 483.1 kB / 458.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.3239, allocations: 236.1 kB / 458.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3241, allocations: 403.2 kB / 458.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3252, allocations: 0.597 MB / 459.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3265, allocations: 0.9123 MB / 460.3 MB, free: 17.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.3287, allocations: 1.335 MB / 461.6 MB, free: 16.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3287, allocations: 1.125 kB / 461.6 MB, free: 16.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005472/0.3342, allocations: 2.215 MB / 463.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.3343, allocations: 89.42 kB / 463.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3343, allocations: 6.344 kB / 463.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.3368, allocations: 0.7226 MB / 464.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.3377, allocations: 202.2 kB / 464.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.3513, allocations: 14.2 MB / 479 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.3533, allocations: 172 kB / 479.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.3535, allocations: 53.16 kB / 479.3 MB, free: 2.766 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 (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.0004545/0.3539, allocations: 251.5 kB / 479.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3541, allocations: 117.9 kB / 479.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3544, allocations: 122.7 kB / 479.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005431/0.3598, allocations: 2.022 MB / 481.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3598, allocations: 4.078 kB / 481.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004939/0.3648, allocations: 2.383 MB / 484.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009325/0.3741, allocations: 4.235 MB / 488.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3741, allocations: 0 / 488.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.3749, allocations: 182.5 kB / 488.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/0.3786, allocations: 1.088 MB / 489.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.3788, allocations: 35.42 kB / 489.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.3985, allocations: 13.03 MB / 0.4909 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007307/0.4058, allocations: 3.812 MB / 0.4947 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/0.4131, allocations: 3.01 MB / 0.4976 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.4138, allocations: 332.3 kB / 0.4979 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.414, allocations: 28 kB / 0.4979 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.4152, allocations: 107.9 kB / 0.498 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/0.4156, allocations: 133 kB / 0.4982 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/0.4157, allocations: 43.97 kB / 0.4982 GB, free: 9.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.4163, allocations: 459 kB / 0.4986 GB, free: 9.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4163, allocations: 0 / 0.4986 GB, free: 9.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001774/0.4181, allocations: 0.5703 MB / 0.4992 GB, free: 8.66 MB / 398.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.007431/0.4255, allocations: 3.618 MB / 0.5027 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004646/0.4302, allocations: 2.584 MB / 0.5053 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4302, allocations: 4 kB / 0.5053 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.4339, allocations: 1.737 MB / 0.507 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4353, allocations: 258 kB / 0.5072 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.4588, allocations: 11.53 MB / 0.5185 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.4595, allocations: 1.045 MB / 0.5195 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007258/0.4602, allocations: 148.4 kB / 0.5196 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.461, allocations: 403.2 kB / 0.52 GB, free: 2.844 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.461, allocations: 0 / 0.52 GB, free: 2.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09952/0.5605, allocations: 39.39 MB / 0.5585 GB, free: 11.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.31, allocations: 0 / 0.5585 GB, free: 11.84 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.856570281030145]