Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 118.8 kB / 17.83 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 201.2 kB / 18.78 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.568/1.568, allocations: 230.4 MB / 250 MB, free: 9.055 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.84 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2543, allocations: 53.32 MB / 420.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006097/0.2604, allocations: 4.963 MB / 425.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2626, allocations: 1.324 MB / 426.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.2629, allocations: 11.94 kB / 427 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.2633, allocations: 158.6 kB / 427.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006067/0.2639, allocations: 329.2 kB / 427.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.2643, allocations: 231.6 kB / 427.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2655, allocations: 1.16 MB / 428.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.2659, allocations: 226.1 kB / 429 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.2664, allocations: 446.4 kB / 429.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.267, allocations: 0.5019 MB / 430 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.2672, allocations: 100 kB / 430.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2673, allocations: 104 kB / 430.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.2675, allocations: 223.2 kB / 430.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.268, allocations: 0.5172 MB / 430.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2692, allocations: 1.183 MB / 432.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2692, allocations: 0 / 432.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2692, allocations: 3.938 kB / 432.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2692, allocations: 0 / 432.1 MB, free: 12.84 MB / 350.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.002386/0.2716, allocations: 1.344 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2717, allocations: 8.031 kB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.2719, allocations: 108.3 kB / 433.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.2727, allocations: 0.5596 MB / 434.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.2729, allocations: 139 kB / 434.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.273, allocations: 64.38 kB / 434.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.2745, allocations: 0.8394 MB / 435.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.2745, allocations: 4 kB / 435.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.2746, allocations: 24 kB / 435.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2746, allocations: 12 kB / 435.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.2759, allocations: 0.5595 MB / 435.8 MB, free: 8.953 MB / 350.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.003545/0.2795, allocations: 2.101 MB / 437.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.2813, allocations: 0.9217 MB / 438.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.282, allocations: 334.7 kB / 439.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.2821, allocations: 12.72 kB / 439.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.2821, allocations: 51.22 kB / 439.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/0.2821, allocations: 0 / 439.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005016/0.2871, allocations: 1.734 MB / 440.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004247/0.2876, allocations: 0.8234 MB / 441.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.2884, allocations: 0.6372 MB / 442.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.2884, allocations: 41.7 kB / 442.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2887, allocations: 341.4 kB / 442.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.2889, allocations: 261.7 kB / 443 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.2892, allocations: 150.6 kB / 443.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.2894, allocations: 386.7 kB / 443.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.29, allocations: 249.9 kB / 443.8 MB, free: 456 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/0.2908, allocations: 0.5312 MB / 444.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.292, allocations: 0.631 MB / 444.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.292, allocations: 0 / 444.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002503/0.2945, allocations: 1.044 MB / 446 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.2946, allocations: 91.75 kB / 446.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2946, allocations: 4 kB / 446.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.2953, allocations: 231.3 kB / 446.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.2959, allocations: 131.8 kB / 446.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008449/0.3043, allocations: 6.936 MB / 453.4 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/0.3051, allocations: 99.45 kB / 453.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3052, allocations: 23.98 kB / 453.5 MB, free: 5.98 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 (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.0003423/0.3055, allocations: 213.8 kB / 453.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.3057, allocations: 91.48 kB / 453.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.3059, allocations: 91.34 kB / 453.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3059, allocations: 11.94 kB / 453.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3059, allocations: 0 / 453.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/0.3083, allocations: 1.174 MB / 455 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.312, allocations: 1.867 MB / 456.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3121, allocations: 192 / 456.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.3127, allocations: 131.8 kB / 457 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005498/0.3132, allocations: 198.6 kB / 457.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.3133, allocations: 15.98 kB / 457.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006606/0.3199, allocations: 5.318 MB / 462.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3199, allocations: 3.938 kB / 462.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.323, allocations: 1.317 MB / 463.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.3234, allocations: 240.4 kB / 464.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.3235, allocations: 20 kB / 464.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.3241, allocations: 39.97 kB / 464.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.3243, allocations: 56.58 kB / 464.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.3243, allocations: 27.98 kB / 464.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005954/0.3249, allocations: 455.1 kB / 464.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3249, allocations: 0 / 464.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008591/0.3258, allocations: 287.7 kB / 465 MB, free: 9.781 MB / 382.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.0001951/0.326, allocations: 127.3 kB / 465.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.328, allocations: 1.254 MB / 466.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.328, allocations: 8.125 kB / 466.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3291, allocations: 0.6714 MB / 467 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.33, allocations: 227 kB / 467.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.3329, allocations: 1.621 MB / 468.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3335, allocations: 0.9362 MB / 469.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.3339, allocations: 98.44 kB / 469.9 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.334, allocations: 67.42 kB / 470 MB, free: 4.574 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.334, allocations: 3.938 kB / 470 MB, free: 4.57 MB / 382.1 MB Notification: Performance of Templates: time 0.03183/0.3659, allocations: 18.26 MB / 488.2 MB, free: 2.586 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches