Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 109.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 208 kB / 19.41 MB, free: 3.645 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.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2139, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005795/0.2197, allocations: 5.62 MB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2222, allocations: 1.452 MB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.2226, allocations: 11.94 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.2231, allocations: 194.3 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.2238, allocations: 396.7 kB / 417.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2243, allocations: 263.6 kB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2254, allocations: 1.366 MB / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.2259, allocations: 407.1 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.2264, allocations: 0.5099 MB / 420.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.227, allocations: 0.5913 MB / 420.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2271, allocations: 120 kB / 420.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.2273, allocations: 120 kB / 421 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.2275, allocations: 255.1 kB / 421.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.228, allocations: 0.6105 MB / 421.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2292, allocations: 1.404 MB / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2292, allocations: 4 kB / 423.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2292, allocations: 0 / 423.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2292, allocations: 0 / 423.2 MB, free: 4.23 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00228/0.2315, allocations: 1.512 MB / 424.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2315, allocations: 11.97 kB / 424.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2317, allocations: 132.2 kB / 424.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.2326, allocations: 0.6467 MB / 425.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.2328, allocations: 147.6 kB / 425.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.2329, allocations: 72.38 kB / 425.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.2343, allocations: 0.9716 MB / 426.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2343, allocations: 3.938 kB / 426.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.2344, allocations: 36 kB / 426.7 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.2344, allocations: 16 kB / 426.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2356, allocations: 0.6168 MB / 427.4 MB, free: 15.82 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.003677/0.2393, allocations: 2.637 MB / 430 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.2418, allocations: 0.8688 MB / 430.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.2425, allocations: 354.6 kB / 431.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.2425, allocations: 12.64 kB / 431.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2426, allocations: 55.22 kB / 431.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.004e-06/0.2426, allocations: 0 / 431.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002442/0.245, allocations: 1.405 MB / 432.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/0.2454, allocations: 0.9489 MB / 433.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.2462, allocations: 0.7904 MB / 434.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.2463, allocations: 45.7 kB / 434.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.2466, allocations: 420.9 kB / 434.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.2468, allocations: 261.7 kB / 435.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.247, allocations: 162.6 kB / 435.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2471, allocations: 330 kB / 435.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.2477, allocations: 258.1 kB / 435.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/0.2485, allocations: 0.5841 MB / 436.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.2496, allocations: 0.6638 MB / 437.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2496, allocations: 3.938 kB / 437.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001602/0.2513, allocations: 0.9592 MB / 438.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.2513, allocations: 85.11 kB / 438.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2513, allocations: 4 kB / 438.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.2516, allocations: 124.2 kB / 438.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.2524, allocations: 151.8 kB / 438.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.2575, allocations: 7.337 MB / 445.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/0.2582, allocations: 107.4 kB / 445.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.2583, allocations: 31.98 kB / 445.9 MB, free: 11.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.2586, allocations: 229.7 kB / 446.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.2588, allocations: 111.3 kB / 446.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.259, allocations: 104.9 kB / 446.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/0.2603, allocations: 0.9622 MB / 447.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2603, allocations: 4 kB / 447.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.2606, allocations: 256.2 kB / 447.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.2607, allocations: 27.88 kB / 447.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.2614, allocations: 47.95 kB / 447.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.2615, allocations: 40.59 kB / 447.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001732/0.2632, allocations: 0.7517 MB / 448.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001863/0.2651, allocations: 1.153 MB / 449.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005128/0.2656, allocations: 289 kB / 449.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.2663, allocations: 0.542 MB / 450.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of Backend: time 4.4e-07/0.2663, allocations: 0 / 450.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.2681, allocations: 1.293 MB / 451.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of SimCode: time 0.002612/0.2707, allocations: 2.237 MB / 454 MB, free: 3.426 MB / 366.1 MB Notification: Performance of Templates: time 0.0273/0.298, allocations: 18.27 MB / 472.2 MB, free: 1.414 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches