Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 90.33 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004446/0.2533, allocations: 4.901 MB / 380 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.2563, allocations: 1.342 MB / 381.3 MB, free: 40.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.2569, allocations: 10.44 kB / 381.3 MB, free: 40.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.2573, allocations: 127.7 kB / 381.5 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000851/0.2582, allocations: 334.7 kB / 381.8 MB, free: 40.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.2587, allocations: 200.8 kB / 382 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2599, allocations: 1.258 MB / 383.2 MB, free: 39.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.2605, allocations: 366.2 kB / 383.6 MB, free: 38.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.2611, allocations: 457.7 kB / 384.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.2617, allocations: 0.519 MB / 384.6 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.2619, allocations: 75.62 kB / 384.6 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.2621, allocations: 86.25 kB / 384.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2623, allocations: 204.9 kB / 384.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.2629, allocations: 0.5662 MB / 385.5 MB, free: 37.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.2637, allocations: 1.028 MB / 386.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2637, allocations: 1.094 kB / 386.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2637, allocations: 0 / 386.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2637, allocations: 0 / 386.5 MB, free: 36.96 MB / 298.7 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.002195/0.2659, allocations: 1.295 MB / 387.8 MB, free: 35.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.266, allocations: 12.03 kB / 387.8 MB, free: 35.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2662, allocations: 127.5 kB / 388 MB, free: 35.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.267, allocations: 0.6304 MB / 388.6 MB, free: 35.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.2672, allocations: 155.6 kB / 388.7 MB, free: 34.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.2673, allocations: 68.38 kB / 388.8 MB, free: 34.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2685, allocations: 0.9924 MB / 389.8 MB, free: 33.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2685, allocations: 0 / 389.8 MB, free: 33.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.2686, allocations: 31.94 kB / 389.8 MB, free: 33.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2686, allocations: 16 kB / 389.8 MB, free: 33.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2698, allocations: 0.6403 MB / 390.5 MB, free: 33.02 MB / 298.7 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.003429/0.2732, allocations: 2.652 MB / 393.1 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.2755, allocations: 0.8752 MB / 394 MB, free: 29.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.2761, allocations: 367.1 kB / 394.4 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/0.2761, allocations: 20.56 kB / 394.4 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2762, allocations: 51.22 kB / 394.4 MB, free: 28.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/0.2762, allocations: 0 / 394.4 MB, free: 28.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002189/0.2784, allocations: 1.436 MB / 395.9 MB, free: 27.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.2786, allocations: 0.9566 MB / 396.8 MB, free: 26.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.2793, allocations: 0.7786 MB / 397.6 MB, free: 25.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.2794, allocations: 45.7 kB / 397.7 MB, free: 25.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.2796, allocations: 408.5 kB / 398.1 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2797, allocations: 248.4 kB / 398.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.2798, allocations: 20 kB / 398.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.2798, allocations: 330 kB / 398.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.2803, allocations: 265.9 kB / 398.9 MB, free: 24.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.281, allocations: 0.5958 MB / 399.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.282, allocations: 0.6835 MB / 400.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.282, allocations: 3.938 kB / 400.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001407/0.2834, allocations: 0.9704 MB / 401.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.2835, allocations: 93.09 kB / 401.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2835, allocations: 0 / 401.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.2838, allocations: 120.2 kB / 401.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.2845, allocations: 159.8 kB / 401.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.288, allocations: 6.793 MB / 408.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.2889, allocations: 119.2 kB / 408.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.289, allocations: 20 kB / 408.4 MB, free: 13.59 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003281/0.2893, allocations: 241.8 kB / 408.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2894, allocations: 110.7 kB / 408.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.2896, allocations: 96.91 kB / 408.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2896, allocations: 8 kB / 408.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2896, allocations: 0 / 408.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.2907, allocations: 0.9973 MB / 409.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.293, allocations: 1.773 MB / 411.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.293, allocations: 0 / 411.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.2937, allocations: 163.8 kB / 411.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-05/0.2937, allocations: 24.84 kB / 411.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.2938, allocations: 12 kB / 411.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/0.2944, allocations: 1.312 MB / 413.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2944, allocations: 0 / 413.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.296, allocations: 1.107 MB / 414.3 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.2963, allocations: 255.8 kB / 414.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2964, allocations: 20 kB / 414.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.297, allocations: 55.86 kB / 414.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.2971, allocations: 44.53 kB / 414.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.2972, allocations: 27.98 kB / 414.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005077/0.2977, allocations: 0.5342 MB / 415.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2977, allocations: 0 / 415.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006705/0.2983, allocations: 291.7 kB / 415.5 MB, free: 6.176 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.2985, allocations: 131.1 kB / 415.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3001, allocations: 1.409 MB / 417 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.3001, allocations: 3.859 kB / 417 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3006, allocations: 426.6 kB / 417.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3017, allocations: 259.1 kB / 417.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3041, allocations: 2.045 MB / 419.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3044, allocations: 0.9836 MB / 420.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.3047, allocations: 83.42 kB / 420.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3047, allocations: 0 / 420.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Templates: time 0.02709/0.3318, allocations: 24.13 MB / 444.9 MB, free: 8.5 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches