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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 109.4 kB / 18.4 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 189.2 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.269/3.269, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.326/0.4745, allocations: 4.913 MB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.4788, allocations: 1.326 MB / 382.1 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.4795, allocations: 13.72 kB / 382.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.4803, allocations: 168 kB / 382.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.4816, allocations: 327.1 kB / 382.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.4824, allocations: 215.8 kB / 382.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.4843, allocations: 1.162 MB / 383.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.485, allocations: 329.6 kB / 384.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.4858, allocations: 443.7 kB / 384.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.4868, allocations: 0.5046 MB / 385.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.4871, allocations: 101.5 kB / 385.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.4874, allocations: 103.8 kB / 385.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.4877, allocations: 223.3 kB / 385.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008502/0.4886, allocations: 0.5098 MB / 386.1 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.491, allocations: 1.175 MB / 387.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.491, allocations: 0 / 387.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.491, allocations: 3.938 kB / 387.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.4911, allocations: 1.125 kB / 387.3 MB, free: 7.812 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.00339/0.4945, allocations: 1.314 MB / 388.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.358e-05/0.4945, allocations: 16.48 kB / 388.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.4949, allocations: 110.5 kB / 388.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4962, allocations: 0.5469 MB / 389.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.4965, allocations: 143.2 kB / 389.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4966, allocations: 63.69 kB / 389.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.4986, allocations: 0.8389 MB / 390.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.4986, allocations: 0 / 390.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/0.4987, allocations: 33.47 kB / 390.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.4988, allocations: 13.94 kB / 390.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.5005, allocations: 0.5581 MB / 390.9 MB, free: 5.566 MB / 318.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.004286/0.5048, allocations: 2.091 MB / 393 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.5067, allocations: 0.9645 MB / 394 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.5075, allocations: 374.4 kB / 394.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.5076, allocations: 13.88 kB / 394.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5077, allocations: 54.98 kB / 394.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.346e-06/0.5077, allocations: 0 / 394.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.005772/0.5135, allocations: 1.736 MB / 396.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/0.5137, allocations: 0.823 MB / 397 MB, free: 1.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.515, allocations: 0.6391 MB / 397.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5151, allocations: 45.67 kB / 397.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.5155, allocations: 328.2 kB / 398 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.5158, allocations: 252.9 kB / 398.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.5162, allocations: 149.5 kB / 398.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5164, allocations: 389.2 kB / 398.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007341/0.5171, allocations: 244 kB / 399 MB, free: 492 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5182, allocations: 0.5296 MB / 399.5 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.5201, allocations: 0.6552 MB / 400.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5201, allocations: 0 / 400.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00365/0.5238, allocations: 1.049 MB / 401.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.5239, allocations: 92.77 kB / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.5239, allocations: 0.875 kB / 401.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.525, allocations: 237 kB / 401.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008384/0.5259, allocations: 129.1 kB / 401.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.536, allocations: 6.925 MB / 408.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5375, allocations: 93.91 kB / 408.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.5376, allocations: 24.17 kB / 408.7 MB, free: 8.715 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.0005925/0.5382, allocations: 224.2 kB / 408.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.5385, allocations: 85.69 kB / 409 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.5387, allocations: 93.3 kB / 409.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5388, allocations: 11.84 kB / 409.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.5388, allocations: 0.875 kB / 409.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00312/0.5419, allocations: 1.18 MB / 410.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.5474, allocations: 1.872 MB / 412.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5475, allocations: 0 / 412.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.5483, allocations: 124.8 kB / 412.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007498/0.5491, allocations: 197.6 kB / 412.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.5492, allocations: 20.89 kB / 412.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008385/0.5576, allocations: 5.307 MB / 417.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.5576, allocations: 8.938 kB / 417.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.5618, allocations: 1.316 MB / 419.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.5625, allocations: 236.8 kB / 419.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.5627, allocations: 23.97 kB / 419.4 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.5635, allocations: 38.75 kB / 419.4 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.5638, allocations: 60.77 kB / 419.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.5638, allocations: 21.7 kB / 419.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008719/0.5647, allocations: 459.5 kB / 420 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5647, allocations: 0 / 420 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001373/0.5661, allocations: 285.9 kB / 420.2 MB, free: 15.67 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.0002694/0.5664, allocations: 129.5 kB / 420.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.5695, allocations: 1.297 MB / 421.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/0.5695, allocations: 2.719 kB / 421.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.571, allocations: 0.6892 MB / 422.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5724, allocations: 232.8 kB / 422.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.5765, allocations: 1.631 MB / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.5772, allocations: 0.9362 MB / 425.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.5775, allocations: 71.42 kB / 425.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.014e-06/0.5775, allocations: 0 / 425.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Templates: time 0.0371/0.6146, allocations: 22.2 MB / 447.4 MB, free: 5.152 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) 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) Reference file matches