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.001588/0.001588, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.231, allocations: 50.55 MB / 409.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005596/0.2367, allocations: 4.944 MB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2394, allocations: 1.312 MB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006531/0.24, allocations: 15.94 kB / 415.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.2407, allocations: 162.6 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008868/0.2416, allocations: 321.2 kB / 416 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.2421, allocations: 223.6 kB / 416.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2435, allocations: 1.16 MB / 417.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.2441, allocations: 329.8 kB / 417.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.2446, allocations: 454.4 kB / 418.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.2454, allocations: 0.498 MB / 418.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2455, allocations: 104 kB / 418.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2457, allocations: 100 kB / 418.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2459, allocations: 215.3 kB / 419 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.2464, allocations: 0.5172 MB / 419.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.2474, allocations: 1.177 MB / 420.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2474, allocations: 0 / 420.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2474, allocations: 4 kB / 420.7 MB, free: 6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2474, allocations: 3.938 kB / 420.7 MB, free: 5.996 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.002108/0.2495, allocations: 1.313 MB / 422.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2496, allocations: 8.031 kB / 422.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2497, allocations: 107.8 kB / 422.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.2505, allocations: 0.5551 MB / 422.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.2507, allocations: 147 kB / 422.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.2508, allocations: 56.38 kB / 422.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2521, allocations: 0.8394 MB / 423.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2521, allocations: 0 / 423.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.2522, allocations: 28 kB / 423.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2522, allocations: 16 kB / 423.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2534, allocations: 0.5517 MB / 424.4 MB, free: 2.148 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.003081/0.2565, allocations: 2.1 MB / 426.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2582, allocations: 0.9628 MB / 427.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.2589, allocations: 374.7 kB / 427.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.2589, allocations: 12.72 kB / 427.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.259, allocations: 51.2 kB / 427.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.259, allocations: 0 / 427.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004628/0.2636, allocations: 1.734 MB / 429.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003091/0.2639, allocations: 0.8234 MB / 430.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.2647, allocations: 0.6332 MB / 431 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/0.2647, allocations: 45.7 kB / 431.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.265, allocations: 337.1 kB / 431.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.2652, allocations: 248.3 kB / 431.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.2654, allocations: 150.7 kB / 431.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2656, allocations: 390.6 kB / 432.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.2661, allocations: 245.9 kB / 432.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.267, allocations: 0.5351 MB / 433 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2681, allocations: 0.631 MB / 433.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2681, allocations: 4 kB / 433.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002309/0.2704, allocations: 1.044 MB / 434.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.2705, allocations: 89.05 kB / 434.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2705, allocations: 0 / 434.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/0.2712, allocations: 235.3 kB / 435 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.2717, allocations: 131.8 kB / 435.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.2794, allocations: 6.935 MB / 442 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.2802, allocations: 99.28 kB / 442.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.2803, allocations: 23.94 kB / 442.1 MB, free: 15.11 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.0003403/0.2806, allocations: 217.7 kB / 442.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.2808, allocations: 83.06 kB / 442.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.281, allocations: 95.33 kB / 442.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.281, allocations: 11.94 kB / 442.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.281, allocations: 4 kB / 442.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/0.2833, allocations: 1.182 MB / 443.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.2869, allocations: 1.863 MB / 445.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2869, allocations: 0 / 445.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.2875, allocations: 127.8 kB / 445.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000539/0.2881, allocations: 194.8 kB / 445.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.2882, allocations: 20 kB / 445.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.2943, allocations: 5.31 MB / 451.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2943, allocations: 3.938 kB / 451.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.2974, allocations: 1.324 MB / 452.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.2979, allocations: 235.9 kB / 452.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.298, allocations: 19.94 kB / 452.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.2987, allocations: 35.97 kB / 452.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.2989, allocations: 64.75 kB / 452.9 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.2989, allocations: 16 kB / 452.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005817/0.2995, allocations: 463 kB / 453.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2995, allocations: 0 / 453.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008778/0.3004, allocations: 287.6 kB / 453.7 MB, free: 2.91 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.000182/0.3006, allocations: 130.7 kB / 453.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.3028, allocations: 1.301 MB / 455.1 MB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.3028, allocations: 4 kB / 455.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.3037, allocations: 0.6913 MB / 455.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3048, allocations: 230.8 kB / 456 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3076, allocations: 1.587 MB / 457.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3081, allocations: 0.9439 MB / 458.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.3086, allocations: 102.4 kB / 458.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.3088, allocations: 71.42 kB / 458.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3088, allocations: 0 / 458.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02802/0.3368, allocations: 18.07 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