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.0007636/0.0007637, allocations: 105.5 kB / 17.01 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008756/0.0008757, allocations: 196.4 kB / 17.91 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002051/0.0002051, allocations: 4 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08559, allocations: 51.51 MB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003993/0.08962, allocations: 4.321 MB / 362.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.09148, allocations: 1.2 MB / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.09175, allocations: 11.94 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.09204, allocations: 107.1 kB / 364.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.09252, allocations: 281.7 kB / 364.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.09284, allocations: 171.8 kB / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.09381, allocations: 1.02 MB / 365.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.09422, allocations: 276.7 kB / 366 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.09459, allocations: 382.7 kB / 366.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.09507, allocations: 454.1 kB / 366.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.09519, allocations: 64 kB / 366.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.09533, allocations: 68 kB / 366.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.09549, allocations: 179.3 kB / 367.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.09567, allocations: 197.3 kB / 367.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.09645, allocations: 0.8646 MB / 368.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.09646, allocations: 0 / 368.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09647, allocations: 4 kB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.09649, allocations: 0 / 368.2 MB, free: 3.832 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.001899/0.09839, allocations: 1.166 MB / 369.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.09844, allocations: 12.03 kB / 369.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.09861, allocations: 102.9 kB / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.0993, allocations: 0.5232 MB / 370 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.09951, allocations: 146.4 kB / 370.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.0996, allocations: 63.95 kB / 370.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1008, allocations: 0.8431 MB / 371 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1009, allocations: 4 kB / 371 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.1009, allocations: 28 kB / 371.1 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1009, allocations: 12 kB / 371.1 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.102, allocations: 0.5751 MB / 371.6 MB, free: 132 kB / 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.1614/0.2635, allocations: 2.115 MB / 373.8 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.2653, allocations: 1.004 MB / 374.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.266, allocations: 383.4 kB / 375.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/0.2661, allocations: 17.62 kB / 375.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2661, allocations: 47.36 kB / 375.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.2661, allocations: 3.281 kB / 375.2 MB, free: 17.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004595/0.2707, allocations: 1.876 MB / 377.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.2709, allocations: 0.8226 MB / 377.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.2716, allocations: 0.6386 MB / 378.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.2716, allocations: 45.2 kB / 378.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.2719, allocations: 336.3 kB / 378.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.2721, allocations: 247.9 kB / 379.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.2721, allocations: 16.94 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2722, allocations: 388.2 kB / 379.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.2728, allocations: 256.7 kB / 379.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.2735, allocations: 0.5399 MB / 380.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.2741, allocations: 385.5 kB / 380.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2741, allocations: 5.406 kB / 380.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002258/0.2763, allocations: 1.104 MB / 381.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.2764, allocations: 89.47 kB / 381.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2764, allocations: 9.141 kB / 381.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.2771, allocations: 250.8 kB / 382.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.2777, allocations: 128.6 kB / 382.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.2837, allocations: 6.49 MB / 388.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.2846, allocations: 115 kB / 388.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.2846, allocations: 22.53 kB / 388.9 MB, free: 7.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.285, allocations: 225.6 kB / 389.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2851, allocations: 84.36 kB / 389.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2853, allocations: 92.25 kB / 389.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2853, allocations: 11.14 kB / 389.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2853, allocations: 0.75 kB / 389.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002095/0.2874, allocations: 1.253 MB / 390.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.2909, allocations: 1.928 MB / 392.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.291, allocations: 1.219 kB / 392.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/0.2916, allocations: 131 kB / 392.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/0.2921, allocations: 213.2 kB / 392.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.2922, allocations: 20.81 kB / 392.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/0.2968, allocations: 4.991 MB / 397.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2968, allocations: 1.156 kB / 397.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.2995, allocations: 1.384 MB / 399.2 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.2998, allocations: 244.9 kB / 399.5 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.2999, allocations: 20.25 kB / 399.5 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.3005, allocations: 47.09 kB / 399.5 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3006, allocations: 57.31 kB / 399.6 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.3007, allocations: 20.81 kB / 399.6 MB, free: 48 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006055/0.3013, allocations: 462.2 kB / 400.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3013, allocations: 0 / 400.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.3022, allocations: 282.1 kB / 400.3 MB, free: 15.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.3024, allocations: 127.5 kB / 400.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.3043, allocations: 1.308 MB / 401.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3043, allocations: 2.125 kB / 401.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009456/0.3052, allocations: 0.7003 MB / 402.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.3063, allocations: 230 kB / 402.7 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.309, allocations: 1.912 MB / 404.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3095, allocations: 0.9375 MB / 405.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004254/0.3099, allocations: 105.6 kB / 405.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.31, allocations: 62.64 kB / 405.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.31, allocations: 0 / 405.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of Templates: time 0.02575/0.3358, allocations: 15.9 MB / 421.6 MB, free: 12.87 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