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.001577/0.001577, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001504/0.001504, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.318/1.318, allocations: 207.6 MB / 232.5 MB, free: 3.961 MB / 174.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.001648/0.001648, allocations: 47.94 kB / 343 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08338, allocations: 49.13 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006161/0.08954, allocations: 4.96 MB / 397.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.09217, allocations: 1.325 MB / 398.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.09248, allocations: 19.81 kB / 398.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.09288, allocations: 166.5 kB / 398.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.09346, allocations: 337.2 kB / 398.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.09386, allocations: 227.6 kB / 399.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.09517, allocations: 1.145 MB / 400.3 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.09558, allocations: 238 kB / 400.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.09617, allocations: 454.5 kB / 401 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.09677, allocations: 0.498 MB / 401.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.09691, allocations: 104 kB / 401.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.09707, allocations: 104 kB / 401.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.09725, allocations: 219.2 kB / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.09772, allocations: 0.5134 MB / 402.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.0989, allocations: 1.187 MB / 403.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.09891, allocations: 0 / 403.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09891, allocations: 0 / 403.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.09892, allocations: 0 / 403.6 MB, free: 13.16 MB / 334.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.002271/0.1012, allocations: 1.34 MB / 404.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1012, allocations: 12.03 kB / 404.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.838e-05/0.1013, allocations: 29.42 kB / 405 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.1015, allocations: 123.9 kB / 405.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.1017, allocations: 112.3 kB / 405.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.1025, allocations: 0.5635 MB / 405.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.1027, allocations: 151 kB / 405.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1028, allocations: 72.08 kB / 406 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1041, allocations: 0.8744 MB / 406.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1042, allocations: 7.984 kB / 406.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.517e-05/0.1042, allocations: 28 kB / 406.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1042, allocations: 16 kB / 406.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1055, allocations: 0.579 MB / 407.5 MB, free: 9.02 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.003503/0.109, allocations: 2.241 MB / 409.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.1108, allocations: 0.9713 MB / 410.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.1115, allocations: 374.3 kB / 411.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.1115, allocations: 25.05 kB / 411.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1116, allocations: 55.56 kB / 411.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 1.904e-06/0.1116, allocations: 0 / 411.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01492/0.1265, allocations: 5.704 MB / 416.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008086/0.1346, allocations: 4.91 MB / 421.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.1355, allocations: 0.6294 MB / 422.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.1357, allocations: 57.7 kB / 422.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.1359, allocations: 333.9 kB / 422.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00051/0.1365, allocations: 471.9 kB / 423.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004211/0.1369, allocations: 235 kB / 423.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1371, allocations: 402.7 kB / 423.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.1383, allocations: 0.6038 MB / 424.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.1398, allocations: 0.9132 MB / 425.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.1421, allocations: 1.333 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1421, allocations: 4 kB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005487/0.1476, allocations: 2.214 MB / 428.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.1477, allocations: 85.11 kB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1477, allocations: 7.938 kB / 429 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.1503, allocations: 0.7286 MB / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.1511, allocations: 191.7 kB / 429.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.168, allocations: 14.19 MB / 444.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.1699, allocations: 175.8 kB / 444.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.17, allocations: 47.95 kB / 444.3 MB, free: 2.121 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.0004513/0.1705, allocations: 254 kB / 444.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.1707, allocations: 111.3 kB / 444.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.1709, allocations: 122.1 kB / 444.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005308/0.1762, allocations: 2.017 MB / 446.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1762, allocations: 4 kB / 446.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005246/0.1815, allocations: 2.379 MB / 449.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008848/0.1903, allocations: 4.237 MB / 453.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.1903, allocations: 16.03 kB / 453.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007933/0.1911, allocations: 175.8 kB / 453.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003755/0.1949, allocations: 1.082 MB / 454.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.195, allocations: 39.84 kB / 454.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1644/0.3593, allocations: 13.03 MB / 467.8 MB, free: 58.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006137/0.3655, allocations: 3.823 MB / 471.6 MB, free: 56.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.3719, allocations: 3.011 MB / 474.6 MB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/0.3724, allocations: 334.6 kB / 474.9 MB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.3725, allocations: 30.83 kB / 475 MB, free: 55.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.3737, allocations: 102.3 kB / 475.1 MB, free: 55.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/0.3741, allocations: 139.6 kB / 475.2 MB, free: 55.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.3742, allocations: 42.45 kB / 475.2 MB, free: 55.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.3747, allocations: 456.7 kB / 475.7 MB, free: 55.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 475.7 MB, free: 55.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001528/0.3762, allocations: 0.5768 MB / 476.3 MB, free: 55.47 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.0063/0.3825, allocations: 3.62 MB / 479.9 MB, free: 53.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.3857, allocations: 2.569 MB / 482.5 MB, free: 52.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3857, allocations: 7.844 kB / 482.5 MB, free: 52.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/0.3887, allocations: 1.735 MB / 484.2 MB, free: 51.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3898, allocations: 253.5 kB / 484.4 MB, free: 51.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4062, allocations: 11.54 MB / 496 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4066, allocations: 1.049 MB / 497 MB, free: 41.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000551/0.4072, allocations: 151.9 kB / 497.2 MB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.4076, allocations: 403.2 kB / 497.6 MB, free: 41.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4076, allocations: 4 kB / 497.6 MB, free: 41.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/0.4788, allocations: 39.39 MB / 0.5244 GB, free: 1.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.25, allocations: 11.95 kB / 0.5244 GB, free: 1.59 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.644221288966946]