Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 109.9 kB / 17.06 MB, free: 6.012 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.001441/0.001441, allocations: 191 kB / 18 MB, free: 5.094 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 / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009844/0.0009845, allocations: 51.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2281, allocations: 49.43 MB / 400.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004681/0.2328, allocations: 3.5 MB / 404.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2346, allocations: 0.9501 MB / 405.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.2349, allocations: 7.938 kB / 405.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.2353, allocations: 107.1 kB / 405.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.2358, allocations: 194.3 kB / 405.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.2361, allocations: 119.8 kB / 405.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007328/0.2369, allocations: 0.6366 MB / 406.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.2372, allocations: 192.2 kB / 406.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.2375, allocations: 235.2 kB / 406.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.2379, allocations: 282.8 kB / 406.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.238, allocations: 52 kB / 407 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.2381, allocations: 52 kB / 407 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2382, allocations: 119.6 kB / 407.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.2385, allocations: 286.7 kB / 407.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.239, allocations: 0.6536 MB / 408.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2391, allocations: 0 / 408.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2391, allocations: 4 kB / 408.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.2391, allocations: 0 / 408.1 MB, free: 1.391 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001332/0.2404, allocations: 0.8311 MB / 408.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2405, allocations: 20.02 kB / 408.9 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2406, allocations: 60.28 kB / 409 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.2411, allocations: 398.6 kB / 409.4 MB, free: 0 / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2412, allocations: 54.97 kB / 409.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.2413, allocations: 32.38 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.242, allocations: 465 kB / 409.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.242, allocations: 0 / 409.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.2421, allocations: 16 kB / 409.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2421, allocations: 8 kB / 409.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.2426, allocations: 278.5 kB / 410.2 MB, free: 15.11 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.002036/0.2447, allocations: 1.29 MB / 411.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2458, allocations: 444.4 kB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2461, allocations: 149.5 kB / 412.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2461, allocations: 7.984 kB / 412.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2461, allocations: 38.56 kB / 412.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.522e-06/0.2461, allocations: 0 / 412.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001121/0.2473, allocations: 0.5985 MB / 412.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.2475, allocations: 444.9 kB / 413.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.2479, allocations: 461.9 kB / 413.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.248, allocations: 33.7 kB / 413.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.2482, allocations: 232.3 kB / 413.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.2483, allocations: 114.4 kB / 414 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2484, allocations: 74.02 kB / 414 MB, free: 10.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2485, allocations: 354.8 kB / 414.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.2488, allocations: 108.7 kB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.2491, allocations: 259.9 kB / 414.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.2496, allocations: 285.1 kB / 415 MB, free: 9.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2496, allocations: 0 / 415 MB, free: 9.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006979/0.2503, allocations: 416.3 kB / 415.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2503, allocations: 36.05 kB / 415.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2504, allocations: 0 / 415.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.2505, allocations: 53.69 kB / 415.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2509, allocations: 63.91 kB / 415.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.2531, allocations: 2.969 MB / 418.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.2535, allocations: 43.72 kB / 418.6 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.2535, allocations: 12 kB / 418.6 MB, free: 5.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.2537, allocations: 165.8 kB / 418.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.2538, allocations: 51.44 kB / 418.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.2539, allocations: 52.69 kB / 418.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2539, allocations: 4 kB / 418.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2539, allocations: 3.938 kB / 418.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006279/0.2545, allocations: 0.6531 MB / 419.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.2558, allocations: 0.8931 MB / 420.4 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2558, allocations: 3.938 kB / 420.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.2562, allocations: 71.89 kB / 420.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2562, allocations: 0 / 420.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.2562, allocations: 8 kB / 420.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2562, allocations: 0 / 420.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2562, allocations: 4 kB / 420.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.257, allocations: 0.5164 MB / 421 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2572, allocations: 168.4 kB / 421.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.2573, allocations: 4 kB / 421.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2576, allocations: 19.98 kB / 421.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.2576, allocations: 20.05 kB / 421.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2576, allocations: 15.92 kB / 421.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.258, allocations: 319.1 kB / 421.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.258, allocations: 0 / 421.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.2584, allocations: 131.8 kB / 421.7 MB, free: 2.703 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.2585, allocations: 103.2 kB / 421.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008725/0.2594, allocations: 0.5707 MB / 422.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2594, allocations: 0 / 422.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.2597, allocations: 127.9 kB / 422.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.2603, allocations: 137.8 kB / 422.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2617, allocations: 0.8699 MB / 423.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2621, allocations: 0.8159 MB / 424.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.2623, allocations: 72.33 kB / 424.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2624, allocations: 39.44 kB / 424.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2624, allocations: 0 / 424.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01379/0.2762, allocations: 8.19 MB / 432.6 MB, free: 7.832 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches