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.001701/0.001701, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.08 kB / 306.9 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.0891, allocations: 50.54 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006029/0.09516, allocations: 5.625 MB / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.09782, allocations: 1.457 MB / 364.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.09851, allocations: 15.94 kB / 364.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.09919, allocations: 155 kB / 364.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009674/0.1002, allocations: 333.3 kB / 365 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.1007, allocations: 227.8 kB / 365.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1022, allocations: 1.3 MB / 366.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.1028, allocations: 376.2 kB / 366.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/0.1035, allocations: 486.1 kB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007337/0.1042, allocations: 0.5562 MB / 367.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.1044, allocations: 88 kB / 368 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.1047, allocations: 84 kB / 368.1 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1049, allocations: 231.1 kB / 368.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.1056, allocations: 0.5792 MB / 368.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008187/0.1064, allocations: 1.044 MB / 369.9 MB, free: 1.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1064, allocations: 4 kB / 369.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1064, allocations: 0 / 369.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.1065, allocations: 0 / 369.9 MB, free: 1.703 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.002789/0.1092, allocations: 1.481 MB / 371.4 MB, free: 152 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1093, allocations: 12.03 kB / 371.4 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.1096, allocations: 127.5 kB / 371.6 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1528/0.2623, allocations: 0.625 MB / 372.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.2626, allocations: 150.6 kB / 372.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2627, allocations: 66.38 kB / 372.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.2644, allocations: 0.9747 MB / 373.4 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2644, allocations: 1.078 kB / 373.4 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.2645, allocations: 31.2 kB / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.2645, allocations: 21.28 kB / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2659, allocations: 0.6184 MB / 374 MB, free: 18.94 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.004319/0.2702, allocations: 2.647 MB / 376.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.2728, allocations: 0.8697 MB / 377.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/0.2736, allocations: 352.9 kB / 377.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.2736, allocations: 21.16 kB / 377.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.2737, allocations: 49.56 kB / 378 MB, free: 16.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.116e-06/0.2737, allocations: 0 / 378 MB, free: 16.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002944/0.2766, allocations: 1.405 MB / 379.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.2769, allocations: 0.9526 MB / 380.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.278, allocations: 0.7854 MB / 381.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.615e-05/0.2782, allocations: 48.98 kB / 381.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.2784, allocations: 404.6 kB / 381.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2786, allocations: 255.1 kB / 381.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.2789, allocations: 154.6 kB / 382 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.279, allocations: 337.3 kB / 382.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.2796, allocations: 254.6 kB / 382.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.2804, allocations: 0.5922 MB / 383.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2816, allocations: 0.6598 MB / 383.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2816, allocations: 1.375 kB / 383.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001797/0.2834, allocations: 0.9578 MB / 384.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.2835, allocations: 89.36 kB / 384.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2835, allocations: 1.125 kB / 384.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.2838, allocations: 129.1 kB / 385 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.2845, allocations: 151 kB / 385.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.2885, allocations: 6.787 MB / 391.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.2896, allocations: 111.3 kB / 392 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.2897, allocations: 24.31 kB / 392 MB, free: 5.047 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 (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.000475/0.2902, allocations: 237 kB / 392.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.2904, allocations: 101.1 kB / 392.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.2907, allocations: 99.7 kB / 392.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2907, allocations: 11.84 kB / 392.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.2907, allocations: 0 / 392.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.2921, allocations: 0.9732 MB / 393.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.2956, allocations: 1.747 MB / 395.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2956, allocations: 0.7031 kB / 395.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.2964, allocations: 154.9 kB / 395.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2965, allocations: 26.77 kB / 395.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.2966, allocations: 21.66 kB / 395.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007666/0.2974, allocations: 1.293 MB / 396.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.2974, allocations: 1 kB / 396.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.2997, allocations: 1.076 MB / 397.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.3003, allocations: 265.7 kB / 398 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.3005, allocations: 23.91 kB / 398 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.3013, allocations: 46.38 kB / 398.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3014, allocations: 43.52 kB / 398.1 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.3015, allocations: 16.14 kB / 398.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000837/0.3023, allocations: 0.5493 MB / 398.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3023, allocations: 0 / 398.7 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001085/0.3034, allocations: 297.3 kB / 399 MB, free: 0.7148 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.3036, allocations: 128 kB / 399.1 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3059, allocations: 1.395 MB / 400.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.3059, allocations: 1.375 kB / 400.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.3067, allocations: 420.5 kB / 400.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.3082, allocations: 255 kB / 401.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.312, allocations: 2.038 MB / 403.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.3128, allocations: 0.9823 MB / 404.2 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.3132, allocations: 79.92 kB / 404.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3132, allocations: 0 / 404.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Templates: time 0.03084/0.344, allocations: 24.24 MB / 428.5 MB, free: 6.258 MB / 334.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