Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001201/0.001201, allocations: 103.1 kB / 21.96 MB, free: 5.219 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.001321/0.001321, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 55.89 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2179, allocations: 49.16 MB / 397.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004406/0.2224, allocations: 4.392 MB / 401.5 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2241, allocations: 1.285 MB / 402.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.2243, allocations: 12.44 kB / 402.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.2247, allocations: 160.8 kB / 403 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.2251, allocations: 327.5 kB / 403.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2255, allocations: 228 kB / 403.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008486/0.2263, allocations: 1.158 MB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.2266, allocations: 226.7 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.227, allocations: 458.2 kB / 405.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.2275, allocations: 0.4987 MB / 405.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2276, allocations: 101.1 kB / 406 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.2278, allocations: 105.1 kB / 406.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2279, allocations: 216.3 kB / 406.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.2283, allocations: 456.4 kB / 406.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.2292, allocations: 1.194 MB / 407.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2292, allocations: 0 / 407.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2292, allocations: 0 / 407.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2292, allocations: 0 / 407.9 MB, free: 2.512 MB / 318.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.001866/0.2311, allocations: 1.259 MB / 409.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2311, allocations: 18.55 kB / 409.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.668e-05/0.2312, allocations: 23.64 kB / 409.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.2313, allocations: 123 kB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.2315, allocations: 118.6 kB / 409.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.2322, allocations: 0.4956 MB / 409.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.2324, allocations: 305.7 kB / 410.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.391e-05/0.2325, allocations: 76.05 kB / 410.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.234, allocations: 1.64 MB / 411.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.234, allocations: 2.344 kB / 412 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.2341, allocations: 29.56 kB / 412 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2341, allocations: 13.88 kB / 412 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2352, allocations: 0.5876 MB / 412.6 MB, free: 15 MB / 334.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.003281/0.2385, allocations: 1.794 MB / 414.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2401, allocations: 0.7322 MB / 415.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.2408, allocations: 379.3 kB / 415.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.2408, allocations: 13.83 kB / 415.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.2409, allocations: 51.28 kB / 415.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.2409, allocations: 0 / 415.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01443/0.2553, allocations: 5.33 MB / 420.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007866/0.2632, allocations: 4.719 MB / 425.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.2641, allocations: 0.641 MB / 426.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.2643, allocations: 53.7 kB / 426.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.2645, allocations: 326 kB / 426.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.265, allocations: 479.8 kB / 427.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.2654, allocations: 234.9 kB / 427.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.2656, allocations: 406.7 kB / 427.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.2669, allocations: 0.6713 MB / 428.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.2688, allocations: 1.753 MB / 430.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.2711, allocations: 1.33 MB / 431.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2711, allocations: 0 / 431.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005555/0.2767, allocations: 2.301 MB / 433.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.2768, allocations: 85.11 kB / 433.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2768, allocations: 4 kB / 433.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.2793, allocations: 0.7325 MB / 434.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.2801, allocations: 199.7 kB / 434.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/0.2967, allocations: 13.27 MB / 448 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.2985, allocations: 175.8 kB / 448.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.2987, allocations: 47.95 kB / 448.3 MB, free: 13.71 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.0005785/0.2992, allocations: 253.6 kB / 448.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.2995, allocations: 115.3 kB / 448.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2998, allocations: 118.1 kB / 448.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005272/0.305, allocations: 2.029 MB / 450.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3051, allocations: 7.938 kB / 450.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005256/0.3103, allocations: 2.379 MB / 453.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009042/0.3194, allocations: 3.812 MB / 457 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3194, allocations: 0 / 457 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008198/0.3202, allocations: 183.8 kB / 457.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/0.3238, allocations: 1.078 MB / 458.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.3239, allocations: 43.89 kB / 458.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/0.3426, allocations: 12.28 MB / 470.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007016/0.3496, allocations: 3.646 MB / 474.2 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.3566, allocations: 3.019 MB / 477.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.3573, allocations: 251.2 kB / 477.5 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.3576, allocations: 32 kB / 477.5 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.3587, allocations: 103.9 kB / 477.6 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/0.3591, allocations: 129 kB / 477.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3592, allocations: 47.89 kB / 477.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006151/0.3598, allocations: 463.1 kB / 478.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3598, allocations: 0 / 478.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001822/0.3617, allocations: 0.5742 MB / 478.8 MB, free: 14.04 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.007143/0.3688, allocations: 3.614 MB / 482.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.3731, allocations: 2.659 MB / 485.1 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3731, allocations: 0 / 485.1 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003498/0.3766, allocations: 1.737 MB / 486.8 MB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.378, allocations: 256.4 kB / 487 MB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/0.4009, allocations: 11.83 MB / 498.9 MB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4015, allocations: 461.8 kB / 499.3 MB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007386/0.4022, allocations: 152.4 kB / 499.5 MB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.4029, allocations: 399.2 kB / 499.9 MB, free: 8.324 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4029, allocations: 0 / 499.9 MB, free: 8.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0981/0.501, allocations: 41.92 MB / 0.5291 GB, free: 14.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.21, allocations: 8.016 kB / 0.5291 GB, free: 14.19 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.521341116982512]