Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001124, allocations: 115.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 61.09 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08406, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004525/0.08862, allocations: 3.501 MB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.09007, allocations: 0.9774 MB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.09024, allocations: 8 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.09055, allocations: 111.1 kB / 363.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.0909, allocations: 186.4 kB / 363.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.09116, allocations: 123.8 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.09181, allocations: 0.6302 MB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.0921, allocations: 194.8 kB / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.09232, allocations: 243.1 kB / 364.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.09263, allocations: 274.8 kB / 365.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.09272, allocations: 52 kB / 365.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.0928, allocations: 56 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.09291, allocations: 111.6 kB / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.09317, allocations: 298.6 kB / 365.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.09372, allocations: 0.6385 MB / 366.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09373, allocations: 4 kB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09374, allocations: 0 / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.09376, allocations: 0 / 366.3 MB, free: 5.941 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001292/0.09505, allocations: 0.8466 MB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.09509, allocations: 8.031 kB / 367.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.0952, allocations: 64.28 kB / 367.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.09577, allocations: 394.6 kB / 367.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.325e-05/0.09587, allocations: 58.91 kB / 367.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.09593, allocations: 28.38 kB / 367.7 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.0966, allocations: 469.1 kB / 368.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.09662, allocations: 0 / 368.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.09667, allocations: 12 kB / 368.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.09669, allocations: 12 kB / 368.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.09726, allocations: 278.5 kB / 368.4 MB, free: 3.645 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.001919/0.09919, allocations: 1.294 MB / 369.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1003, allocations: 434.1 kB / 370.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1005, allocations: 144.7 kB / 370.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.1006, allocations: 7.984 kB / 370.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.1006, allocations: 38.66 kB / 370.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.1006, allocations: 3.938 kB / 370.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001092/0.1017, allocations: 0.6024 MB / 370.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.1019, allocations: 452.9 kB / 371.4 MB, free: 412 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1451/0.247, allocations: 447.6 kB / 371.8 MB, free: 21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/0.2471, allocations: 33.2 kB / 371.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2473, allocations: 229.4 kB / 372.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/0.2474, allocations: 115 kB / 372.2 MB, free: 20.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2475, allocations: 75.86 kB / 372.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.2476, allocations: 355.2 kB / 372.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2479, allocations: 109 kB / 372.7 MB, free: 20.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.2482, allocations: 253.6 kB / 372.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.2487, allocations: 278.8 kB / 373.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2487, allocations: 0.6562 kB / 373.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007278/0.2494, allocations: 416.8 kB / 373.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.2495, allocations: 32.17 kB / 373.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2495, allocations: 1.547 kB / 373.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.2497, allocations: 53.39 kB / 373.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.25, allocations: 67.45 kB / 373.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.2519, allocations: 2.968 MB / 376.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.2523, allocations: 45.22 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.2523, allocations: 12.92 kB / 376.8 MB, free: 16.96 MB / 302.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.000195/0.2525, allocations: 165.9 kB / 377 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.2526, allocations: 52.5 kB / 377 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2528, allocations: 55.89 kB / 377.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2528, allocations: 4.344 kB / 377.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2528, allocations: 1.062 kB / 377.1 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006174/0.2534, allocations: 0.6499 MB / 377.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2547, allocations: 0.8916 MB / 378.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2548, allocations: 10.09 kB / 378.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.2551, allocations: 71.38 kB / 378.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2551, allocations: 1.375 kB / 378.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.2551, allocations: 8.109 kB / 378.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2552, allocations: 1.375 kB / 378.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2552, allocations: 0 / 378.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.2559, allocations: 0.5248 MB / 379.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2561, allocations: 160.9 kB / 379.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.2561, allocations: 7.812 kB / 379.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.2564, allocations: 23.14 kB / 379.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.2565, allocations: 20.14 kB / 379.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2565, allocations: 10.62 kB / 379.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.2569, allocations: 318.4 kB / 379.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2569, allocations: 0 / 379.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000431/0.2573, allocations: 135.8 kB / 379.9 MB, free: 14.96 MB / 302.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.0001007/0.2574, allocations: 106.3 kB / 380 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.2582, allocations: 0.5619 MB / 380.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2582, allocations: 5.312 kB / 380.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.2585, allocations: 130.8 kB / 380.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.2591, allocations: 136.6 kB / 380.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2604, allocations: 0.8689 MB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.2607, allocations: 0.8189 MB / 382.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.2609, allocations: 64.92 kB / 382.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.261, allocations: 39.59 kB / 382.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.261, allocations: 5.219 kB / 382.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of Templates: time 0.01403/0.2751, allocations: 8.118 MB / 390.7 MB, free: 11 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches