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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007991/0.0007991, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009572/0.0009572, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000192/0.0001918, allocations: 7.938 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08297, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00307/0.08607, allocations: 3.15 MB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.08762, allocations: 0.9153 MB / 363.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.08791, allocations: 11.88 kB / 363.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.08822, allocations: 91.42 kB / 363.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.08867, allocations: 162.7 kB / 363.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.08895, allocations: 103.8 kB / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006372/0.08959, allocations: 0.6103 MB / 364.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.08986, allocations: 180.3 kB / 364.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.09012, allocations: 211.2 kB / 364.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.09044, allocations: 250.8 kB / 365 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.09053, allocations: 40 kB / 365.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.09062, allocations: 36 kB / 365.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.09071, allocations: 99.53 kB / 365.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.09096, allocations: 288.4 kB / 365.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.09144, allocations: 0.6032 MB / 366.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09145, allocations: 0 / 366.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09145, allocations: 0 / 366.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.09147, allocations: 0 / 366.1 MB, free: 6.441 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.001117/0.0926, allocations: 0.765 MB / 366.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.09264, allocations: 8.031 kB / 366.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.09276, allocations: 75.62 kB / 366.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.09288, allocations: 60.28 kB / 367 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.09335, allocations: 399 kB / 367.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.09347, allocations: 71.19 kB / 367.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.09353, allocations: 40.31 kB / 367.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.09421, allocations: 470.1 kB / 367.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.09424, allocations: 3.984 kB / 367.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.09428, allocations: 20 kB / 368 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.09429, allocations: 8 kB / 368 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.09483, allocations: 295.8 kB / 368.3 MB, free: 4.086 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.001889/0.09673, allocations: 1.316 MB / 369.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.09777, allocations: 436.5 kB / 370 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.09803, allocations: 148.8 kB / 370.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.09807, allocations: 7.984 kB / 370.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.09811, allocations: 46.55 kB / 370.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.09812, allocations: 0 / 370.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001057/0.09918, allocations: 0.6114 MB / 370.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.09937, allocations: 444.9 kB / 371.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.09986, allocations: 450 kB / 371.7 MB, free: 368 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.0999, allocations: 37.7 kB / 371.7 MB, free: 324 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1001, allocations: 236.3 kB / 372 MB, free: 84 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1349/0.235, allocations: 106.3 kB / 372.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.2351, allocations: 33.06 kB / 372.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2352, allocations: 355.1 kB / 372.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.2356, allocations: 114.4 kB / 372.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.236, allocations: 258 kB / 372.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.2365, allocations: 289.2 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2365, allocations: 0 / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000732/0.2372, allocations: 425.3 kB / 373.5 MB, free: 18.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2372, allocations: 31.72 kB / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2373, allocations: 1.281 kB / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.2374, allocations: 50.86 kB / 373.6 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.2377, allocations: 77.41 kB / 373.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.2395, allocations: 2.748 MB / 376.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.2398, allocations: 47.25 kB / 376.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2399, allocations: 12.27 kB / 376.5 MB, free: 16.18 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.0001965/0.2401, allocations: 173.5 kB / 376.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.2402, allocations: 48.28 kB / 376.7 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.2403, allocations: 51.94 kB / 376.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2403, allocations: 3.156 kB / 376.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2403, allocations: 5.844 kB / 376.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005667/0.2408, allocations: 0.6591 MB / 377.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.2421, allocations: 0.9157 MB / 378.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2421, allocations: 3.734 kB / 378.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.2424, allocations: 72.05 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2424, allocations: 1.375 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2424, allocations: 5.609 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2424, allocations: 5.109 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2424, allocations: 3.938 kB / 378.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.2432, allocations: 0.535 MB / 378.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.2433, allocations: 160.3 kB / 379.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.2434, allocations: 13.03 kB / 379.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.2437, allocations: 20.72 kB / 379.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.2438, allocations: 22.7 kB / 379.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2438, allocations: 8.469 kB / 379.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.2441, allocations: 321.2 kB / 379.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2441, allocations: 0 / 379.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.2445, allocations: 132.5 kB / 379.6 MB, free: 14.55 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.0008861/0.2454, allocations: 1.08 MB / 380.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.2462, allocations: 0.5604 MB / 381.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2462, allocations: 1.125 kB / 381.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2464, allocations: 141.3 kB / 381.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.247, allocations: 121.7 kB / 381.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.2518, allocations: 4.624 MB / 386.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.252, allocations: 0.8167 MB / 386.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.2523, allocations: 67.45 kB / 387 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.2525, allocations: 160.8 kB / 387.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2525, allocations: 0 / 387.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2749, allocations: 11.84 MB / 399 MB, free: 5.238 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.2751, allocations: 239.8 kB / 399.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.193, allocations: 0 / 399.2 MB, free: 4.98 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > 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