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.0009275/0.0009275, allocations: 97.52 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009708/0.0009708, allocations: 205.7 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002051, allocations: 11.98 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.0875, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004414/0.09195, allocations: 4.555 MB / 363.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.09401, allocations: 1.258 MB / 365.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.09426, allocations: 11.94 kB / 365.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.09458, allocations: 123.1 kB / 365.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.0951, allocations: 285.8 kB / 365.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.09547, allocations: 195.7 kB / 365.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.0964, allocations: 1.105 MB / 366.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.09681, allocations: 290.8 kB / 367.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.09721, allocations: 394.4 kB / 367.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.09768, allocations: 466 kB / 367.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.09779, allocations: 68 kB / 368 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.09792, allocations: 64 kB / 368 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.09807, allocations: 183.2 kB / 368.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.09849, allocations: 0.5071 MB / 368.7 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008386/0.09934, allocations: 1.105 MB / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.09935, allocations: 0 / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09936, allocations: 0 / 369.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.09937, allocations: 0 / 369.8 MB, free: 2.648 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.001886/0.1013, allocations: 1.154 MB / 371 MB, free: 1.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1013, allocations: 8.031 kB / 371 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.1015, allocations: 107.8 kB / 371.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.1022, allocations: 0.5435 MB / 371.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.1024, allocations: 151 kB / 371.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.1025, allocations: 60.38 kB / 371.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1677/0.2702, allocations: 0.8499 MB / 372.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.2703, allocations: 1.438 kB / 372.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.2704, allocations: 32.39 kB / 372.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2704, allocations: 14.31 kB / 372.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.2721, allocations: 0.5774 MB / 373.3 MB, free: 19.23 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.004081/0.2762, allocations: 2.132 MB / 375.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.2781, allocations: 1.009 MB / 376.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/0.2788, allocations: 382.1 kB / 376.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.2789, allocations: 16.05 kB / 376.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2789, allocations: 46.09 kB / 376.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/0.2789, allocations: 0 / 376.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005269/0.2842, allocations: 1.885 MB / 378.8 MB, free: 16.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.2844, allocations: 0.8259 MB / 379.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.2853, allocations: 0.6427 MB / 380.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/0.2854, allocations: 41.75 kB / 380.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.2857, allocations: 331.8 kB / 380.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.2859, allocations: 261.6 kB / 380.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.286, allocations: 59.2 kB / 380.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2861, allocations: 384.4 kB / 381.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.2867, allocations: 256.8 kB / 381.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008057/0.2875, allocations: 0.5468 MB / 382.1 MB, free: 14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2887, allocations: 0.655 MB / 382.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2887, allocations: 0 / 382.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002612/0.2913, allocations: 1.115 MB / 383.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.2914, allocations: 84.67 kB / 384 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2914, allocations: 1.844 kB / 384 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.2922, allocations: 260.4 kB / 384.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.2928, allocations: 126 kB / 384.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.2995, allocations: 6.495 MB / 390.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.3004, allocations: 112 kB / 390.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.3005, allocations: 27.72 kB / 391 MB, free: 7.109 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.0003831/0.3009, allocations: 215.8 kB / 391.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.3011, allocations: 93.45 kB / 391.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3013, allocations: 91.08 kB / 391.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3013, allocations: 8.109 kB / 391.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.3013, allocations: 1.344 kB / 391.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/0.3036, allocations: 1.252 MB / 392.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/0.3075, allocations: 1.938 MB / 394.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.3075, allocations: 1.031 kB / 394.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.3081, allocations: 129 kB / 394.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/0.3087, allocations: 222.7 kB / 394.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.3088, allocations: 18.94 kB / 394.9 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.3135, allocations: 4.992 MB / 399.9 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3135, allocations: 8.969 kB / 399.9 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.3164, allocations: 1.388 MB / 401.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.3167, allocations: 242 kB / 401.5 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3169, allocations: 27.91 kB / 401.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.3175, allocations: 46.22 kB / 401.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3177, allocations: 66.78 kB / 401.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.3177, allocations: 17.22 kB / 401.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005991/0.3184, allocations: 459.2 kB / 402.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3184, allocations: 0 / 402.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009036/0.3193, allocations: 286.1 kB / 402.4 MB, free: 15.01 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.000154/0.3194, allocations: 119.4 kB / 402.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.3213, allocations: 1.312 MB / 403.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3213, allocations: 3.906 kB / 403.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.3222, allocations: 0.7017 MB / 404.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.3232, allocations: 218.6 kB / 404.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3261, allocations: 1.991 MB / 406.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.3266, allocations: 0.9402 MB / 407.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.327, allocations: 94.44 kB / 407.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3272, allocations: 67.42 kB / 407.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3272, allocations: 0 / 407.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of Templates: time 0.02638/0.3536, allocations: 16.56 MB / 424.4 MB, free: 10.51 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 -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