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.001504/0.001504, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001748/0.001748, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009231/0.0009231, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2208, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004289/0.2251, allocations: 3.506 MB / 404.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2265, allocations: 0.9384 MB / 405.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2267, allocations: 11.94 kB / 405.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.227, allocations: 111 kB / 405.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.2274, allocations: 190.4 kB / 405.5 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2276, allocations: 123.8 kB / 405.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.2283, allocations: 0.6328 MB / 406.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2286, allocations: 198.5 kB / 406.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2288, allocations: 243.1 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.2291, allocations: 266.9 kB / 406.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.2292, allocations: 52 kB / 407 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.2293, allocations: 56 kB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.2294, allocations: 119.6 kB / 407.1 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.2296, allocations: 294.6 kB / 407.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.2302, allocations: 0.6437 MB / 408.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2302, allocations: 4 kB / 408.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2302, allocations: 0 / 408.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2302, allocations: 0 / 408.1 MB, free: 1.512 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.0013/0.2315, allocations: 0.8428 MB / 408.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2316, allocations: 11.97 kB / 408.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2317, allocations: 68.22 kB / 409 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.2322, allocations: 394.6 kB / 409.4 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.2323, allocations: 58.91 kB / 409.4 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.2324, allocations: 28.38 kB / 409.5 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.2331, allocations: 457.1 kB / 409.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2332, allocations: 3.984 kB / 409.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.2332, allocations: 16 kB / 409.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2332, allocations: 8 kB / 409.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.2338, allocations: 278.4 kB / 410.2 MB, free: 15.22 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.001998/0.2358, allocations: 1.29 MB / 411.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.237, allocations: 440.4 kB / 411.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.2373, allocations: 145.6 kB / 412.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2373, allocations: 7.984 kB / 412.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2373, allocations: 38.56 kB / 412.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.2373, allocations: 0 / 412.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001147/0.2385, allocations: 0.6024 MB / 412.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.2387, allocations: 448.9 kB / 413.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.2392, allocations: 457.9 kB / 413.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.2392, allocations: 33.7 kB / 413.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2394, allocations: 232.4 kB / 413.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.2395, allocations: 118.3 kB / 414 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.2396, allocations: 74.02 kB / 414 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2398, allocations: 350.8 kB / 414.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.24, allocations: 112.6 kB / 414.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.2404, allocations: 260 kB / 414.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.2409, allocations: 281.2 kB / 415 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2409, allocations: 4 kB / 415 MB, free: 9.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007116/0.2416, allocations: 412.3 kB / 415.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.2417, allocations: 32.36 kB / 415.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2417, allocations: 0 / 415.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.2418, allocations: 53.69 kB / 415.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.2422, allocations: 67.89 kB / 415.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.2446, allocations: 2.968 MB / 418.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.2449, allocations: 47.78 kB / 418.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.245, allocations: 8 kB / 418.6 MB, free: 6.109 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.0002026/0.2452, allocations: 169.8 kB / 418.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.2453, allocations: 51.44 kB / 418.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.2454, allocations: 48.7 kB / 418.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2454, allocations: 0 / 418.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.2454, allocations: 8.031 kB / 418.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000665/0.2461, allocations: 0.6492 MB / 419.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2474, allocations: 0.8931 MB / 420.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2474, allocations: 3.938 kB / 420.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.2477, allocations: 75.89 kB / 420.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2477, allocations: 0 / 420.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2478, allocations: 4 kB / 420.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2478, allocations: 11.98 kB / 420.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2478, allocations: 0 / 420.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.2486, allocations: 0.5163 MB / 421 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2488, allocations: 164.4 kB / 421.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.2489, allocations: 8 kB / 421.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.2492, allocations: 20.05 kB / 421.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2493, allocations: 19.97 kB / 421.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2493, allocations: 12 kB / 421.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003368/0.2497, allocations: 319.1 kB / 421.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2497, allocations: 0 / 421.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2501, allocations: 131.8 kB / 421.7 MB, free: 2.82 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.0001231/0.2502, allocations: 107.2 kB / 421.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.2511, allocations: 0.5669 MB / 422.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2512, allocations: 0 / 422.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.2514, allocations: 131.8 kB / 422.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.2521, allocations: 137.9 kB / 422.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2535, allocations: 0.87 MB / 423.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2538, allocations: 0.8159 MB / 424.3 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.2541, allocations: 60.36 kB / 424.4 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.2542, allocations: 43.48 kB / 424.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2542, allocations: 3.938 kB / 424.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01363/0.2679, allocations: 8.183 MB / 432.6 MB, free: 7.953 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