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.00127/0.00127, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001626/0.001626, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.39/1.39, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",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.00186/0.00186, allocations: 51.94 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2582, allocations: 49.15 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004974/0.2632, allocations: 4.984 MB / 401.3 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2652, allocations: 1.331 MB / 402.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.2655, allocations: 12.72 kB / 402.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.2659, allocations: 163.6 kB / 402.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.2665, allocations: 332.1 kB / 403.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.2669, allocations: 223 kB / 403.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.268, allocations: 1.154 MB / 404.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.2683, allocations: 230 kB / 404.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.2688, allocations: 456.1 kB / 405.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.2693, allocations: 0.4965 MB / 405.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.2694, allocations: 105.2 kB / 405.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2696, allocations: 104.7 kB / 405.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2698, allocations: 222.2 kB / 406.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.2701, allocations: 0.5161 MB / 406.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2712, allocations: 1.188 MB / 407.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2712, allocations: 4 kB / 407.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2712, allocations: 1.25 kB / 407.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.2713, allocations: 0 / 407.8 MB, free: 1.871 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.002009/0.2733, allocations: 1.258 MB / 409.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2733, allocations: 14.66 kB / 409.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.2735, allocations: 124.6 kB / 409.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2736, allocations: 112.2 kB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.2744, allocations: 0.4977 MB / 409.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2746, allocations: 299.8 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.2747, allocations: 66.45 kB / 410.2 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.276, allocations: 0.8609 MB / 411 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2761, allocations: 0 / 411 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.2761, allocations: 36.56 kB / 411.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.2762, allocations: 19.41 kB / 411.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2773, allocations: 0.5576 MB / 411.7 MB, free: 15.36 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.00355/0.2809, allocations: 2.092 MB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2825, allocations: 0.6901 MB / 414.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.2832, allocations: 334.3 kB / 414.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/0.2833, allocations: 14.91 kB / 414.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.2833, allocations: 53.66 kB / 414.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.2833, allocations: 0 / 414.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004695/0.288, allocations: 1.441 MB / 416.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005263/0.2885, allocations: 0.8195 MB / 417.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.2895, allocations: 0.6442 MB / 417.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/0.2896, allocations: 40.55 kB / 417.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.29, allocations: 344.5 kB / 418.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.2902, allocations: 267.8 kB / 418.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.2905, allocations: 146.3 kB / 418.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.2907, allocations: 387.7 kB / 418.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.2913, allocations: 245.5 kB / 419.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/0.2922, allocations: 0.5256 MB / 419.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2933, allocations: 0.6335 MB / 420.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2933, allocations: 1.375 kB / 420.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00242/0.2957, allocations: 1.047 MB / 421.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/0.2958, allocations: 91.89 kB / 421.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2958, allocations: 1.562 kB / 421.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.2965, allocations: 231.8 kB / 421.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.2971, allocations: 129.6 kB / 421.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/0.3056, allocations: 6.525 MB / 428.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3066, allocations: 95.45 kB / 428.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.3067, allocations: 20 kB / 428.4 MB, free: 1.957 MB / 334.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 (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.000412/0.3071, allocations: 229.7 kB / 428.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3073, allocations: 95.42 kB / 428.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.3075, allocations: 87.34 kB / 428.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3075, allocations: 8 kB / 428.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3075, allocations: 0 / 428.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/0.3097, allocations: 1.178 MB / 430 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.3134, allocations: 1.85 MB / 431.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3134, allocations: 0 / 431.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.314, allocations: 127.9 kB / 432 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.3145, allocations: 202.7 kB / 432.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.3145, allocations: 19.98 kB / 432.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006197/0.3207, allocations: 4.997 MB / 437.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3207, allocations: 4.062 kB / 437.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.3237, allocations: 1.317 MB / 438.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.3241, allocations: 159.5 kB / 438.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3242, allocations: 24 kB / 438.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.3248, allocations: 47.89 kB / 438.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.325, allocations: 60.53 kB / 438.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.325, allocations: 20 kB / 438.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005701/0.3256, allocations: 459 kB / 439.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3256, allocations: 3.938 kB / 439.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000874/0.3264, allocations: 283.8 kB / 439.6 MB, free: 6.25 MB / 350.1 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.003191/0.3296, allocations: 1.88 MB / 441.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3317, allocations: 1.258 MB / 442.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3317, allocations: 0 / 442.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3327, allocations: 0.6796 MB / 443.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3338, allocations: 231 kB / 443.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.3466, allocations: 7.441 MB / 451 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.3473, allocations: 0.944 MB / 452 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.3477, allocations: 98.44 kB / 452.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.3481, allocations: 291.3 kB / 452.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3481, allocations: 0 / 452.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/0.4369, allocations: 26.12 MB / 478.5 MB, free: 14.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.58, allocations: 19.67 kB / 478.5 MB, free: 14.81 MB / 398.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: 16.91326203290373]