Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 179.6 kB / 16.41 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007526/0.0007529, allocations: 84.53 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 11.98 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 47.56 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003464/0.2015, allocations: 4.301 MB / 378.8 MB, free: 42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2029, allocations: 1.208 MB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.2031, allocations: 8.781 kB / 380.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.2033, allocations: 112.6 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2037, allocations: 278.4 kB / 380.4 MB, free: 40.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.204, allocations: 164.5 kB / 380.6 MB, free: 40.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008087/0.2048, allocations: 1.02 MB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.2052, allocations: 284.9 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.2055, allocations: 390 kB / 382.3 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.2059, allocations: 449.9 kB / 382.7 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.206, allocations: 64 kB / 382.8 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2061, allocations: 66.84 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2062, allocations: 177 kB / 383 MB, free: 39.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2064, allocations: 206.9 kB / 383.2 MB, free: 38.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.2069, allocations: 0.8644 MB / 384.1 MB, free: 38.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.207, allocations: 0 / 384.1 MB, free: 38.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.207, allocations: 0 / 384.1 MB, free: 38.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.207, allocations: 1.062 kB / 384.1 MB, free: 38.29 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.001683/0.2087, allocations: 1.171 MB / 385.3 MB, free: 37.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2087, allocations: 8.531 kB / 385.3 MB, free: 37.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.2089, allocations: 105.2 kB / 385.4 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.2095, allocations: 0.5142 MB / 385.9 MB, free: 36.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.2097, allocations: 156.6 kB / 386 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.2097, allocations: 65.06 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.2109, allocations: 0.8469 MB / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2109, allocations: 0 / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.211, allocations: 28.09 kB / 387 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.211, allocations: 18.5 kB / 387 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.212, allocations: 0.5795 MB / 387.6 MB, free: 35.53 MB / 298.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.002552/0.2146, allocations: 2.116 MB / 389.7 MB, free: 33.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2162, allocations: 1.007 MB / 390.7 MB, free: 32.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.2168, allocations: 393.3 kB / 391.1 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.2168, allocations: 8.656 kB / 391.1 MB, free: 31.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2169, allocations: 51.22 kB / 391.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.613e-06/0.2169, allocations: 0 / 391.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004206/0.2211, allocations: 1.879 MB / 393 MB, free: 29.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.2212, allocations: 0.8195 MB / 393.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.2217, allocations: 0.6371 MB / 394.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.2218, allocations: 45.7 kB / 394.5 MB, free: 28.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.222, allocations: 337.1 kB / 394.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2221, allocations: 248.3 kB / 395.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2221, allocations: 12 kB / 395.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.2222, allocations: 390.8 kB / 395.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.2227, allocations: 253.9 kB / 395.7 MB, free: 26.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.2233, allocations: 0.539 MB / 396.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.2239, allocations: 380 kB / 396.6 MB, free: 25.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.224, allocations: 4 kB / 396.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002198/0.2262, allocations: 1.106 MB / 397.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.2262, allocations: 90.19 kB / 397.8 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2262, allocations: 1.641 kB / 397.8 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.2268, allocations: 247.2 kB / 398.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.2273, allocations: 135.9 kB / 398.2 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005604/0.233, allocations: 6.5 MB / 404.7 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.2337, allocations: 111.3 kB / 404.8 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.2337, allocations: 23.98 kB / 404.9 MB, free: 17.04 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.234, allocations: 221.7 kB / 405.1 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2341, allocations: 87.02 kB / 405.2 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.2342, allocations: 91.34 kB / 405.2 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2343, allocations: 8.234 kB / 405.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2343, allocations: 4 kB / 405.3 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.2362, allocations: 1.245 MB / 406.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.2392, allocations: 1.934 MB / 408.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2392, allocations: 4 kB / 408.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.2398, allocations: 131.9 kB / 408.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/0.2402, allocations: 218.4 kB / 408.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.2403, allocations: 15.98 kB / 408.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.2446, allocations: 4.981 MB / 413.8 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2447, allocations: 4.031 kB / 413.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.2471, allocations: 1.381 MB / 415.2 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.2474, allocations: 243.9 kB / 415.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.2475, allocations: 19.95 kB / 415.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.2481, allocations: 48.16 kB / 415.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2482, allocations: 60.56 kB / 415.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.2482, allocations: 27.94 kB / 415.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.2486, allocations: 455 kB / 416 MB, free: 5.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2486, allocations: 0 / 416 MB, free: 5.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006633/0.2493, allocations: 279.7 kB / 416.3 MB, free: 4.961 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.2494, allocations: 126.3 kB / 416.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.2509, allocations: 1.305 MB / 417.7 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2509, allocations: 4 kB / 417.7 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.2517, allocations: 0.7068 MB / 418.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.2526, allocations: 232.3 kB / 418.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.2548, allocations: 1.935 MB / 420.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2552, allocations: 0.94 MB / 421.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.2554, allocations: 63.44 kB / 421.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2554, allocations: 4 kB / 421.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of Templates: time 0.02268/0.2781, allocations: 21.94 MB / 443.5 MB, free: 9.484 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches