Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001249, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 68.34 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08451, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005569/0.09011, allocations: 4.949 MB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.09212, allocations: 1.308 MB / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.09236, allocations: 11.94 kB / 365.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.09274, allocations: 166.5 kB / 365.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.09327, allocations: 321.3 kB / 365.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.09366, allocations: 227.6 kB / 365.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.0947, allocations: 1.164 MB / 367 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.09513, allocations: 330 kB / 367.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.09552, allocations: 442.5 kB / 367.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.09604, allocations: 0.5019 MB / 368.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.09618, allocations: 100 kB / 368.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.09634, allocations: 104 kB / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.09652, allocations: 223.2 kB / 368.7 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.09695, allocations: 0.5094 MB / 369.2 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009283/0.09789, allocations: 1.18 MB / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.0979, allocations: 0 / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09791, allocations: 0 / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.09793, allocations: 4 kB / 370.4 MB, free: 1.762 MB / 302.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.002208/0.1001, allocations: 1.306 MB / 371.7 MB, free: 392 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1002, allocations: 8.031 kB / 371.7 MB, free: 384 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.1004, allocations: 111.8 kB / 371.8 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.133/0.2334, allocations: 0.5515 MB / 372.4 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.2336, allocations: 147.3 kB / 372.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.2337, allocations: 63.12 kB / 372.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.235, allocations: 0.8331 MB / 373.4 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.2351, allocations: 2.625 kB / 373.4 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.2352, allocations: 28.34 kB / 373.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.2352, allocations: 17.97 kB / 373.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2364, allocations: 0.5556 MB / 374 MB, free: 19.79 MB / 302.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.003253/0.2396, allocations: 2.104 MB / 376.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.2413, allocations: 0.9638 MB / 377.1 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.242, allocations: 372.7 kB / 377.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.2421, allocations: 11.67 kB / 377.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.2421, allocations: 47.12 kB / 377.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/0.2421, allocations: 1.281 kB / 377.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004776/0.2469, allocations: 1.746 MB / 379.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.2471, allocations: 0.8226 MB / 380.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/0.2481, allocations: 0.6421 MB / 380.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2482, allocations: 42.2 kB / 380.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.2485, allocations: 328.8 kB / 381.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.2487, allocations: 247.3 kB / 381.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.249, allocations: 149.3 kB / 381.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2492, allocations: 389.7 kB / 381.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.2498, allocations: 244.2 kB / 382.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.2505, allocations: 0.5285 MB / 382.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2516, allocations: 0.636 MB / 383.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2516, allocations: 1.375 kB / 383.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002335/0.2539, allocations: 1.052 MB / 384.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.254, allocations: 88.73 kB / 384.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.254, allocations: 1.094 kB / 384.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.2547, allocations: 233.3 kB / 384.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.2553, allocations: 127.2 kB / 384.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/0.2618, allocations: 6.926 MB / 391.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.2626, allocations: 94.97 kB / 391.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.2626, allocations: 22.77 kB / 391.8 MB, free: 6.984 MB / 302.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.0003315/0.263, allocations: 220.2 kB / 392 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.2632, allocations: 85.41 kB / 392.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.2633, allocations: 92.17 kB / 392.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2634, allocations: 13.22 kB / 392.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.2634, allocations: 3.938 kB / 392.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.2655, allocations: 1.183 MB / 393.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.2691, allocations: 1.869 MB / 395.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2691, allocations: 1.281 kB / 395.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.2697, allocations: 128 kB / 395.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.2702, allocations: 193 kB / 395.5 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.2703, allocations: 17.91 kB / 395.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.2753, allocations: 5.314 MB / 400.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2753, allocations: 5.438 kB / 400.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.2782, allocations: 1.322 MB / 402.2 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.2787, allocations: 245.9 kB / 402.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.2789, allocations: 19.69 kB / 402.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.2795, allocations: 42.77 kB / 402.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.2797, allocations: 57.42 kB / 402.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.2798, allocations: 21.66 kB / 402.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006/0.2804, allocations: 463.7 kB / 403 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2804, allocations: 0 / 403 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000904/0.2813, allocations: 270.1 kB / 403.3 MB, free: 14.4 MB / 318.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.000173/0.2815, allocations: 127.4 kB / 403.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.2834, allocations: 1.3 MB / 404.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2835, allocations: 1.594 kB / 404.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.2844, allocations: 0.6976 MB / 405.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.2853, allocations: 232.3 kB / 405.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.288, allocations: 1.604 MB / 407.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.2885, allocations: 0.9375 MB / 408.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.2889, allocations: 104.4 kB / 408.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.2891, allocations: 64.92 kB / 408.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2891, allocations: 0 / 408.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of Templates: time 0.03129/0.3204, allocations: 17.91 MB / 426.3 MB, free: 9.188 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches