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.0008911/0.0008912, allocations: 97.83 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004219/0.1084, allocations: 4.43 MB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1106, allocations: 1.403 MB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.1109, allocations: 15.94 kB / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1112, allocations: 119.1 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.1118, allocations: 406.9 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1122, allocations: 199.7 kB / 364.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1133, allocations: 0.9211 MB / 365.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.1137, allocations: 327.1 kB / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.1141, allocations: 442.5 kB / 366.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.1147, allocations: 0.4902 MB / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1148, allocations: 68 kB / 366.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.115, allocations: 68 kB / 366.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1151, allocations: 191.2 kB / 367.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1153, allocations: 237.1 kB / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.1161, allocations: 0.9737 MB / 368.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1161, allocations: 0 / 368.3 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1161, allocations: 4 kB / 368.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1161, allocations: 0 / 368.3 MB, free: 3.621 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002112/0.1182, allocations: 1.294 MB / 369.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1183, allocations: 11.97 kB / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1185, allocations: 126.6 kB / 369.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.1193, allocations: 0.5556 MB / 370.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.1195, allocations: 159.1 kB / 370.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.1196, allocations: 64 kB / 370.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.121, allocations: 0.9706 MB / 371.5 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.121, allocations: 7.906 kB / 371.5 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.1211, allocations: 28 kB / 371.5 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1211, allocations: 16 kB / 371.5 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.164/0.2851, allocations: 0.6414 MB / 372.2 MB, free: 19.16 MB / 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.005392/0.2906, allocations: 2.579 MB / 374.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.2936, allocations: 0.9136 MB / 375.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.2937, allocations: 16.44 kB / 375.7 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2938, allocations: 51.47 kB / 375.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.216e-06/0.2938, allocations: 0 / 375.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.0026/0.2964, allocations: 1.457 MB / 377.2 MB, free: 16.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.2966, allocations: 0.9501 MB / 378.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.2974, allocations: 0.7148 MB / 378.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.704e-05/0.2975, allocations: 45.92 kB / 378.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.2978, allocations: 411.4 kB / 379.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.298, allocations: 255.1 kB / 379.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2981, allocations: 20.41 kB / 379.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.2981, allocations: 329 kB / 379.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.2987, allocations: 267.3 kB / 380.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.2995, allocations: 0.5951 MB / 380.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.3002, allocations: 402.8 kB / 381.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3002, allocations: 5.125 kB / 381.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001661/0.3018, allocations: 0.9773 MB / 382.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.3019, allocations: 89.31 kB / 382.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3019, allocations: 2.031 kB / 382.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.3023, allocations: 128.2 kB / 382.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.303, allocations: 156.4 kB / 382.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.3071, allocations: 6.972 MB / 389.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.3081, allocations: 115 kB / 389.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.3082, allocations: 28.25 kB / 389.6 MB, free: 6.242 MB / 302.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 (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.3086, allocations: 233.7 kB / 389.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3088, allocations: 105.5 kB / 389.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.309, allocations: 103.6 kB / 390 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.309, allocations: 15.75 kB / 390 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.309, allocations: 0 / 390 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.3104, allocations: 0.9931 MB / 391 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.3133, allocations: 1.722 MB / 392.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3133, allocations: 5.25 kB / 392.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/0.3141, allocations: 158.3 kB / 392.9 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.3142, allocations: 29 kB / 393 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.3142, allocations: 14.58 kB / 393 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007938/0.315, allocations: 1.45 MB / 394.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.315, allocations: 0.7031 kB / 394.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3169, allocations: 1.11 MB / 395.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.3173, allocations: 254.2 kB / 395.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3174, allocations: 24.97 kB / 395.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.318, allocations: 45.06 kB / 395.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.3181, allocations: 47.11 kB / 395.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.3182, allocations: 18.28 kB / 395.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.3188, allocations: 0.4985 MB / 396.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 1.031 kB / 396.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3199, allocations: 284.5 kB / 396.7 MB, free: 1.824 MB / 302.1 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 (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.3201, allocations: 119.5 kB / 396.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.3222, allocations: 1.422 MB / 398.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.3222, allocations: 2.344 kB / 398.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.3229, allocations: 439.5 kB / 398.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.324, allocations: 256.8 kB / 398.9 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.327, allocations: 2.001 MB / 400.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.3275, allocations: 0.9978 MB / 401.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005622/0.3281, allocations: 108 kB / 402 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3283, allocations: 68.02 kB / 402.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.923e-06/0.3283, allocations: 0 / 402.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of Templates: time 0.02534/0.3536, allocations: 15.02 MB / 417.1 MB, free: 1.734 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches