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.001504/0.001504, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.88 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.25, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006247/0.2563, allocations: 4.943 MB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.2588, allocations: 1.312 MB / 415.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.2594, allocations: 15.94 kB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.26, allocations: 166.5 kB / 415.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009605/0.261, allocations: 325.3 kB / 416 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.2615, allocations: 227.6 kB / 416.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.2629, allocations: 1.172 MB / 417.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.2633, allocations: 325.8 kB / 417.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.264, allocations: 446.5 kB / 418.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.2647, allocations: 0.5019 MB / 418.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.265, allocations: 104 kB / 418.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2652, allocations: 104 kB / 418.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.2654, allocations: 215.2 kB / 419.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.2658, allocations: 0.5094 MB / 419.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.2668, allocations: 1.177 MB / 420.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2668, allocations: 4 kB / 420.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2668, allocations: 4 kB / 420.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2668, allocations: 0 / 420.8 MB, free: 6.02 MB / 334.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.002065/0.2689, allocations: 1.31 MB / 422.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2689, allocations: 12.03 kB / 422.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2691, allocations: 111.8 kB / 422.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.2699, allocations: 0.5513 MB / 422.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.2701, allocations: 146.9 kB / 422.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.2702, allocations: 64.31 kB / 422.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2714, allocations: 0.8355 MB / 423.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2714, allocations: 4 kB / 423.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.2715, allocations: 28 kB / 423.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2715, allocations: 12 kB / 423.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.2726, allocations: 0.5556 MB / 424.4 MB, free: 2.164 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.00299/0.2756, allocations: 2.104 MB / 426.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.2773, allocations: 0.9552 MB / 427.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.2779, allocations: 374.7 kB / 427.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.079e-05/0.278, allocations: 16.7 kB / 427.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2781, allocations: 47.22 kB / 427.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.903e-06/0.2781, allocations: 0 / 427.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004476/0.2825, allocations: 1.734 MB / 429.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002857/0.2828, allocations: 0.8234 MB / 430.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.2835, allocations: 0.641 MB / 431.1 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.2836, allocations: 49.69 kB / 431.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2838, allocations: 325.1 kB / 431.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.284, allocations: 256.3 kB / 431.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.2843, allocations: 142.6 kB / 431.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2844, allocations: 390.7 kB / 432.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.2849, allocations: 245.9 kB / 432.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.2857, allocations: 0.535 MB / 433 MB, free: 8.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2867, allocations: 0.6388 MB / 433.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2868, allocations: 0 / 433.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002281/0.289, allocations: 1.048 MB / 434.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.2891, allocations: 83.92 kB / 434.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2891, allocations: 3.938 kB / 434.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006686/0.2898, allocations: 239.2 kB / 435 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.2904, allocations: 123.8 kB / 435.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.2977, allocations: 6.94 MB / 442 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.2984, allocations: 95.28 kB / 442.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.2984, allocations: 20 kB / 442.2 MB, free: 15.13 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.0002998/0.2987, allocations: 221.7 kB / 442.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2989, allocations: 91.05 kB / 442.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.2991, allocations: 87.34 kB / 442.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2991, allocations: 11.94 kB / 442.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2991, allocations: 4 kB / 442.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002056/0.3012, allocations: 1.178 MB / 443.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.3045, allocations: 1.867 MB / 445.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3045, allocations: 0 / 445.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.3052, allocations: 123.9 kB / 445.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.3057, allocations: 202.6 kB / 445.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.3057, allocations: 15.94 kB / 445.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005621/0.3114, allocations: 5.307 MB / 451.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3114, allocations: 3.938 kB / 451.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.3141, allocations: 1.324 MB / 452.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.3145, allocations: 235.9 kB / 452.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3146, allocations: 20 kB / 452.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.3152, allocations: 35.97 kB / 452.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3154, allocations: 64.5 kB / 452.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.3154, allocations: 20 kB / 452.9 MB, free: 3.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005402/0.3159, allocations: 467 kB / 453.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.316, allocations: 3.938 kB / 453.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.3169, allocations: 279.6 kB / 453.7 MB, free: 2.926 MB / 366.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.0001863/0.3171, allocations: 123.1 kB / 453.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3192, allocations: 1.305 MB / 455.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3192, allocations: 4 kB / 455.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.3201, allocations: 0.6951 MB / 455.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.3211, allocations: 226.8 kB / 456 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3238, allocations: 1.599 MB / 457.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.3243, allocations: 0.94 MB / 458.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.3247, allocations: 102.4 kB / 458.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3248, allocations: 63.42 kB / 458.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3248, allocations: 0 / 458.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02679/0.3516, allocations: 18.08 MB / 476.8 MB, free: 11.84 MB / 398.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches