Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 359.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2334, allocations: 50.55 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004748/0.2381, allocations: 3.511 MB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2397, allocations: 0.9852 MB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2399, allocations: 7.938 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.2402, allocations: 107.1 kB / 414.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.2406, allocations: 190.4 kB / 415 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2408, allocations: 119.8 kB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007388/0.2416, allocations: 0.6341 MB / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2418, allocations: 130.9 kB / 415.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.2421, allocations: 243.1 kB / 416.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.2424, allocations: 274.8 kB / 416.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.2425, allocations: 56 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.819e-05/0.2426, allocations: 55.94 kB / 416.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2427, allocations: 123.5 kB / 416.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.243, allocations: 290.6 kB / 416.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.2437, allocations: 0.6458 MB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2437, allocations: 4 kB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2437, allocations: 0 / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2438, allocations: 0 / 417.5 MB, free: 10.07 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001456/0.2452, allocations: 0.858 MB / 418.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2452, allocations: 12.03 kB / 418.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2454, allocations: 64.56 kB / 418.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.246, allocations: 395 kB / 418.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2461, allocations: 58.91 kB / 418.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.2461, allocations: 36.38 kB / 419 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.2469, allocations: 457.1 kB / 419.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2469, allocations: 4 kB / 419.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.247, allocations: 12 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.247, allocations: 8 kB / 419.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.2476, allocations: 278.5 kB / 419.7 MB, free: 7.77 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.002218/0.2498, allocations: 1.298 MB / 421 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.251, allocations: 416.5 kB / 421.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.2513, allocations: 128.8 kB / 421.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.2514, allocations: 4 kB / 421.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.2514, allocations: 46.5 kB / 421.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.2514, allocations: 0 / 421.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00127/0.2527, allocations: 0.6031 MB / 422.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002612/0.2529, allocations: 445 kB / 422.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.2535, allocations: 457.9 kB / 423.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.2536, allocations: 37.7 kB / 423.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.2538, allocations: 232.7 kB / 423.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2539, allocations: 115 kB / 423.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.254, allocations: 81.97 kB / 423.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2542, allocations: 350.8 kB / 423.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.2545, allocations: 108.6 kB / 424 MB, free: 3.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.2549, allocations: 256 kB / 424.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.2554, allocations: 281.2 kB / 424.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2554, allocations: 0 / 424.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007835/0.2562, allocations: 412.6 kB / 424.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.2562, allocations: 29.7 kB / 424.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2562, allocations: 0 / 424.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.2564, allocations: 65.75 kB / 425 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.2567, allocations: 63.91 kB / 425 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.2596, allocations: 2.973 MB / 428 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.26, allocations: 39.81 kB / 428.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.26, allocations: 12 kB / 428.1 MB, free: 14.68 MB / 350.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.0002155/0.2602, allocations: 169.8 kB / 428.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.2603, allocations: 51.67 kB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2604, allocations: 48.7 kB / 428.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2604, allocations: 8 kB / 428.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2604, allocations: 3.938 kB / 428.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007491/0.2611, allocations: 0.6492 MB / 429 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.2625, allocations: 0.8933 MB / 429.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2626, allocations: 7.875 kB / 429.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.2629, allocations: 71.95 kB / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2629, allocations: 4 kB / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.2629, allocations: 4 kB / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2629, allocations: 4 kB / 430 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2629, allocations: 7.938 kB / 430 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/0.2638, allocations: 0.5207 MB / 430.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.264, allocations: 168.7 kB / 430.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.2641, allocations: 11.98 kB / 430.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.2644, allocations: 15.98 kB / 430.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.2645, allocations: 15.98 kB / 430.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2645, allocations: 15.98 kB / 430.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003827/0.2649, allocations: 315.1 kB / 431 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2649, allocations: 0 / 431 MB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.2653, allocations: 131.9 kB / 431.2 MB, free: 11.38 MB / 350.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.0001388/0.2655, allocations: 111.2 kB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009795/0.2664, allocations: 0.5477 MB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.2665, allocations: 4 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.2667, allocations: 119.8 kB / 431.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.2674, allocations: 129.8 kB / 432.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.269, allocations: 0.8975 MB / 433 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.2695, allocations: 0.8198 MB / 433.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.2698, allocations: 60.36 kB / 433.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2699, allocations: 39.44 kB / 433.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2699, allocations: 0 / 433.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of Templates: time 0.01564/0.2855, allocations: 8.256 MB / 442.1 MB, free: 460 kB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches