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.001566/0.001566, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001771/0.001771, allocations: 193 kB / 21.43 MB, free: 1.633 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.346/1.346, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.001515/0.001515, allocations: 47.92 kB / 366.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.0899, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006171/0.09607, allocations: 4.964 MB / 423.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.09845, allocations: 1.289 MB / 424.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.0989, allocations: 11.94 kB / 424.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.09937, allocations: 162.5 kB / 424.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.1002, allocations: 325.3 kB / 425.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.1007, allocations: 227.6 kB / 425.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1021, allocations: 1.156 MB / 426.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.1024, allocations: 234 kB / 426.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.103, allocations: 462.4 kB / 427.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.1037, allocations: 0.4941 MB / 427.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.1039, allocations: 104 kB / 427.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1041, allocations: 103.9 kB / 428 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1043, allocations: 223.2 kB / 428.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.1048, allocations: 0.5133 MB / 428.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.106, allocations: 1.187 MB / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.106, allocations: 0 / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.106, allocations: 0 / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.106, allocations: 4 kB / 429.9 MB, free: 1.109 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.002304/0.1083, allocations: 1.332 MB / 431.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1084, allocations: 16.02 kB / 431.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.054e-05/0.1084, allocations: 21.45 kB / 431.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.1086, allocations: 131.9 kB / 431.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1088, allocations: 116.3 kB / 431.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.1096, allocations: 0.5557 MB / 432.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.1098, allocations: 147 kB / 432.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1099, allocations: 72.89 kB / 432.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1113, allocations: 0.8744 MB / 433.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1113, allocations: 7.938 kB / 433.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.1114, allocations: 32 kB / 433.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1114, allocations: 12 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1127, allocations: 0.5984 MB / 433.8 MB, free: 12.96 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.003587/0.1163, allocations: 2.237 MB / 436 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.1181, allocations: 0.9622 MB / 437 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.1188, allocations: 378.9 kB / 437.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.1189, allocations: 21.06 kB / 437.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.1189, allocations: 51.55 kB / 437.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.1189, allocations: 0 / 437.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01566/0.1346, allocations: 5.712 MB / 443.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1884/0.323, allocations: 4.89 MB / 448 MB, free: 27.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.3239, allocations: 0.64 MB / 448.7 MB, free: 27.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002615/0.3242, allocations: 57.2 kB / 448.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.3244, allocations: 331.1 kB / 449.1 MB, free: 27.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.3249, allocations: 482.8 kB / 449.5 MB, free: 27.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.3255, allocations: 230.3 kB / 449.8 MB, free: 27.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3256, allocations: 405.4 kB / 450.2 MB, free: 27.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.3271, allocations: 0.5971 MB / 450.8 MB, free: 27.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.3288, allocations: 0.9143 MB / 451.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.3317, allocations: 1.332 MB / 453 MB, free: 26.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3318, allocations: 5.531 kB / 453 MB, free: 26.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0055/0.3373, allocations: 2.218 MB / 455.2 MB, free: 26.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.3373, allocations: 86.39 kB / 455.3 MB, free: 26.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3373, allocations: 4.688 kB / 455.3 MB, free: 26.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.3399, allocations: 0.7236 MB / 456 MB, free: 25.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.3407, allocations: 199.7 kB / 456.2 MB, free: 25.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.354, allocations: 14.18 MB / 470.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.3561, allocations: 169.6 kB / 470.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.3563, allocations: 49.69 kB / 470.6 MB, free: 13.19 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.0004919/0.3568, allocations: 260.5 kB / 470.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.357, allocations: 110.4 kB / 471 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.3573, allocations: 119.2 kB / 471.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005255/0.3625, allocations: 2.028 MB / 473.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3625, allocations: 4.562 kB / 473.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005027/0.3676, allocations: 2.384 MB / 475.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008434/0.376, allocations: 4.232 MB / 479.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.376, allocations: 1.406 kB / 479.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.3768, allocations: 181 kB / 479.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/0.3802, allocations: 1.094 MB / 481 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.3803, allocations: 34.89 kB / 481.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.3955, allocations: 13.03 MB / 494.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006965/0.4025, allocations: 3.83 MB / 497.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006913/0.4094, allocations: 3.012 MB / 0.4892 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000825/0.4102, allocations: 332.3 kB / 0.4895 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.4104, allocations: 35.94 kB / 0.4895 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.4117, allocations: 107.9 kB / 0.4897 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/0.4121, allocations: 121.1 kB / 0.4898 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4122, allocations: 39.97 kB / 0.4898 GB, free: 7.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006655/0.4129, allocations: 463 kB / 0.4902 GB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4129, allocations: 0 / 0.4902 GB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4147, allocations: 0.5742 MB / 0.4908 GB, free: 6.387 MB / 382.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.007606/0.4223, allocations: 3.605 MB / 0.4943 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004401/0.4267, allocations: 2.592 MB / 0.4969 GB, free: 0 / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/0.4268, allocations: 272 / 0.4969 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003766/0.4305, allocations: 1.737 MB / 0.4986 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.4318, allocations: 265.6 kB / 0.4988 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.4543, allocations: 11.53 MB / 0.5101 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.4551, allocations: 1.046 MB / 0.5111 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.4557, allocations: 152.4 kB / 0.5112 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/0.4564, allocations: 399.2 kB / 0.5116 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4564, allocations: 0 / 0.5116 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09054/0.547, allocations: 39.4 MB / 0.5501 GB, free: 9.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.15, allocations: 8.625 kB / 0.5501 GB, free: 9.598 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.58864965394605]