Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 105.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 196.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009569/0.0009569, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.202, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005933/0.2079, allocations: 5.62 MB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2098, allocations: 1.406 MB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.2101, allocations: 11.94 kB / 408.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.2105, allocations: 202.3 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.2112, allocations: 404.7 kB / 409 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.2116, allocations: 259.6 kB / 409.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.2128, allocations: 1.357 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.2133, allocations: 412.3 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.2138, allocations: 0.5137 MB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.2144, allocations: 0.5836 MB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2145, allocations: 116 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2147, allocations: 120 kB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.2149, allocations: 267.1 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.2155, allocations: 0.6067 MB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.2166, allocations: 1.405 MB / 414.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2166, allocations: 0 / 414.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2166, allocations: 0 / 414.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2166, allocations: 0 / 414.7 MB, free: 11.53 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.002436/0.2191, allocations: 1.485 MB / 416.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2191, allocations: 8.031 kB / 416.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2193, allocations: 123.6 kB / 416.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.2202, allocations: 0.642 MB / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.2204, allocations: 147.7 kB / 417.1 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2205, allocations: 76.28 kB / 417.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.222, allocations: 0.9708 MB / 418.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2221, allocations: 0 / 418.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.2222, allocations: 32 kB / 418.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2222, allocations: 16 kB / 418.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2235, allocations: 0.6246 MB / 418.8 MB, free: 7.168 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.003786/0.2273, allocations: 2.624 MB / 421.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.2299, allocations: 0.8676 MB / 422.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.2306, allocations: 354.7 kB / 422.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.2307, allocations: 16.64 kB / 422.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2307, allocations: 51.22 kB / 422.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.144e-06/0.2307, allocations: 0 / 422.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002562/0.2333, allocations: 1.406 MB / 424.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003592/0.2337, allocations: 0.9528 MB / 425 MB, free: 380 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.2346, allocations: 0.7827 MB / 425.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.2347, allocations: 45.7 kB / 425.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.235, allocations: 412.5 kB / 426.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.2352, allocations: 252.2 kB / 426.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.2354, allocations: 154.7 kB / 426.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2355, allocations: 334 kB / 427 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.2361, allocations: 253.9 kB / 427.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.237, allocations: 0.5918 MB / 427.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.2382, allocations: 0.6678 MB / 428.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2382, allocations: 3.938 kB / 428.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0017/0.2399, allocations: 0.9431 MB / 429.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.24, allocations: 89.09 kB / 429.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.24, allocations: 0 / 429.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.2403, allocations: 128.1 kB / 429.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.2411, allocations: 151.8 kB / 429.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.2466, allocations: 7.336 MB / 437.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.2473, allocations: 103.6 kB / 437.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.2474, allocations: 27.98 kB / 437.3 MB, free: 3.164 MB / 350.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.0003243/0.2477, allocations: 241.6 kB / 437.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.2479, allocations: 106.8 kB / 437.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.2481, allocations: 100.9 kB / 437.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001396/0.2495, allocations: 0.9739 MB / 438.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2495, allocations: 0 / 438.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.2498, allocations: 255.7 kB / 438.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.25, allocations: 23.94 kB / 439 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.2507, allocations: 43.97 kB / 439 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.2508, allocations: 40.59 kB / 439 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001836/0.2526, allocations: 0.7517 MB / 439.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001982/0.2546, allocations: 1.148 MB / 440.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005243/0.2551, allocations: 281.1 kB / 441.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006406/0.2558, allocations: 0.5537 MB / 441.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.2558, allocations: 0 / 441.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.2577, allocations: 1.289 MB / 443.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.002731/0.2605, allocations: 2.197 MB / 445.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.02799/0.2885, allocations: 18.29 MB / 463.5 MB, free: 8.863 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches