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.0008473/0.0008473, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001289/0.001289, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8573/0.8573, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.981e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004064/0.004083, allocations: 4.442 MB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005724, allocations: 1.273 MB / 330.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.005951, allocations: 11.94 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.006258, allocations: 162.6 kB / 330.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.006681, allocations: 341 kB / 330.8 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.006964, allocations: 227.5 kB / 331 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007843/0.007749, allocations: 1.207 MB / 332.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.008021, allocations: 222.5 kB / 332.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.008486, allocations: 0.6666 MB / 333.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.008819, allocations: 371 kB / 333.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.008911, allocations: 104 kB / 333.6 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.009005, allocations: 104 kB / 333.7 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.009118, allocations: 227.2 kB / 333.9 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.009356, allocations: 379.2 kB / 334.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.01013, allocations: 1.234 MB / 335.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.01014, allocations: 0 / 335.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01014, allocations: 0 / 335.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01015, allocations: 4 kB / 335.5 MB, free: 4.969 MB / 298.7 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.001622/0.01177, allocations: 1.256 MB / 336.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.01181, allocations: 12.02 kB / 336.8 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.01194, allocations: 124 kB / 336.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.01206, allocations: 116.3 kB / 337 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.01267, allocations: 0.4907 MB / 337.5 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.01284, allocations: 309.2 kB / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.01291, allocations: 56.38 kB / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.01395, allocations: 1.616 MB / 339.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01397, allocations: 192 / 339.5 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.01401, allocations: 31.94 kB / 339.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01402, allocations: 16 kB / 339.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.01476, allocations: 0.5672 MB / 340.1 MB, free: 15.95 MB / 314.7 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.002052/0.01681, allocations: 1.682 MB / 341.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.01782, allocations: 0.6998 MB / 342.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.01849, allocations: 334.7 kB / 342.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.01853, allocations: 12.59 kB / 342.8 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.01856, allocations: 51.22 kB / 342.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.01856, allocations: 0 / 342.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002457/0.02102, allocations: 1.429 MB / 344.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.02125, allocations: 0.8234 MB / 345.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.02176, allocations: 0.6448 MB / 345.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.0218, allocations: 45.7 kB / 345.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.02197, allocations: 342.9 kB / 346.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.02211, allocations: 269.8 kB / 346.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.02225, allocations: 146.6 kB / 346.5 MB, free: 9.188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.02237, allocations: 390.7 kB / 346.9 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.02273, allocations: 323 kB / 347.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.02343, allocations: 1.36 MB / 348.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.02413, allocations: 0.6349 MB / 349.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02413, allocations: 0 / 349.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001604/0.02574, allocations: 1.123 MB / 350.3 MB, free: 4.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.02579, allocations: 93.09 kB / 350.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.0258, allocations: 3.984 kB / 350.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.02621, allocations: 231.2 kB / 350.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.0265, allocations: 123.9 kB / 350.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/0.03123, allocations: 6.472 MB / 357.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.03163, allocations: 99.64 kB / 357.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.03166, allocations: 23.94 kB / 357.4 MB, free: 13.43 MB / 330.7 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.03187, allocations: 221.7 kB / 357.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.03195, allocations: 87.48 kB / 357.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.03204, allocations: 95.28 kB / 357.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.03205, allocations: 11.94 kB / 357.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.03205, allocations: 0 / 357.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.03325, allocations: 1.182 MB / 359 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.03528, allocations: 1.679 MB / 360.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.03529, allocations: 0 / 360.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.0356, allocations: 127.8 kB / 360.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.03591, allocations: 198.6 kB / 361 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.03594, allocations: 19.92 kB / 361 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.03957, allocations: 4.967 MB / 365.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03957, allocations: 0 / 365.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.04118, allocations: 1.309 MB / 367.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.0414, allocations: 171.2 kB / 367.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.04146, allocations: 27.94 kB / 367.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.04175, allocations: 35.97 kB / 367.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.04185, allocations: 60.48 kB / 367.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.04188, allocations: 23.98 kB / 367.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.04223, allocations: 463 kB / 368 MB, free: 2.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04223, allocations: 0 / 368 MB, free: 2.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.04278, allocations: 283.8 kB / 368.3 MB, free: 1.926 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.0446, allocations: 1.88 MB / 370.2 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.04604, allocations: 1.341 MB / 371.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.04604, allocations: 0 / 371.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.04658, allocations: 0.6795 MB / 372.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.04717, allocations: 227 kB / 372.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/0.05512, allocations: 7.714 MB / 380.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.05536, allocations: 350 kB / 380.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.05563, allocations: 106.4 kB / 380.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.0559, allocations: 296.4 kB / 380.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0559, allocations: 0 / 380.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.09838, allocations: 27.61 MB / 408.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.077, allocations: 0 / 408.5 MB, free: 9.691 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 9.706914342939854]