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.001455/0.001461, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.5 kB / 306.3 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08601, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004259/0.0903, allocations: 3.535 MB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.09202, allocations: 0.9892 MB / 361.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.09241, allocations: 8 kB / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.09278, allocations: 79.44 kB / 361.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.09328, allocations: 170.7 kB / 361.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.09357, allocations: 99.91 kB / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.09426, allocations: 0.6141 MB / 362.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.09453, allocations: 172.3 kB / 362.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.09482, allocations: 227.1 kB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.09517, allocations: 262.8 kB / 363 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.09526, allocations: 40 kB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.09537, allocations: 44 kB / 363.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.09546, allocations: 103.6 kB / 363.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.09574, allocations: 282.6 kB / 363.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.09624, allocations: 0.6073 MB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09625, allocations: 0 / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09626, allocations: 0 / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.09628, allocations: 0 / 364.1 MB, free: 6.973 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.001347/0.09763, allocations: 0.8528 MB / 364.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.09768, allocations: 12.03 kB / 364.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.09779, allocations: 75.66 kB / 365 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.09791, allocations: 68.19 kB / 365.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.0984, allocations: 391.1 kB / 365.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.0985, allocations: 51.27 kB / 365.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.09856, allocations: 48.27 kB / 365.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.09924, allocations: 470 kB / 366 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.09927, allocations: 4 kB / 366 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.09931, allocations: 16 kB / 366 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.09933, allocations: 8 kB / 366.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.09987, allocations: 279.8 kB / 366.3 MB, free: 4.559 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.001958/0.1018, allocations: 1.312 MB / 367.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1029, allocations: 433.2 kB / 368.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.1032, allocations: 140.8 kB / 368.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1032, allocations: 8.078 kB / 368.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1032, allocations: 42.5 kB / 368.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/0.1033, allocations: 7.984 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001048/0.1043, allocations: 0.5997 MB / 368.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.1045, allocations: 448.9 kB / 369.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004494/0.1049, allocations: 446 kB / 369.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.105, allocations: 37.7 kB / 369.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1051, allocations: 240.3 kB / 370 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.1052, allocations: 110.4 kB / 370.1 MB, free: 476 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1053, allocations: 74.02 kB / 370.2 MB, free: 396 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1055, allocations: 358.8 kB / 370.5 MB, free: 28 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1441/0.2495, allocations: 100.4 kB / 370.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.2499, allocations: 254.3 kB / 370.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.2504, allocations: 277 kB / 371.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2504, allocations: 1.281 kB / 371.2 MB, free: 19.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007365/0.2511, allocations: 418.3 kB / 371.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.2512, allocations: 32.34 kB / 371.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2512, allocations: 4.734 kB / 371.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.2513, allocations: 57.02 kB / 371.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2517, allocations: 63.88 kB / 371.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.2533, allocations: 2.753 MB / 374.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.2536, allocations: 47.47 kB / 374.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2537, allocations: 8.75 kB / 374.5 MB, free: 17.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.0001723/0.2538, allocations: 162.8 kB / 374.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.2539, allocations: 57.91 kB / 374.7 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.254, allocations: 58.81 kB / 374.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.254, allocations: 3.766 kB / 374.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.254, allocations: 1.219 kB / 374.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005232/0.2546, allocations: 0.6496 MB / 375.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.2557, allocations: 0.9054 MB / 376.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2557, allocations: 0 / 376.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.2561, allocations: 71.23 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2561, allocations: 2.469 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2561, allocations: 7.469 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2561, allocations: 5.312 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2561, allocations: 1.844 kB / 376.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.2569, allocations: 0.5155 MB / 377 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.257, allocations: 164.4 kB / 377.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.2571, allocations: 7.531 kB / 377.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.2574, allocations: 19.55 kB / 377.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.2575, allocations: 19.7 kB / 377.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.2575, allocations: 7.016 kB / 377.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.2578, allocations: 323.6 kB / 377.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2578, allocations: 4.969 kB / 377.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.2582, allocations: 132.5 kB / 377.6 MB, free: 15.29 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.2591, allocations: 1.069 MB / 378.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.2598, allocations: 0.5675 MB / 379.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2598, allocations: 1.406 kB / 379.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2601, allocations: 126.6 kB / 379.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.2608, allocations: 120.4 kB / 379.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.2658, allocations: 4.535 MB / 384 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.266, allocations: 0.8203 MB / 384.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.2663, allocations: 60.64 kB / 384.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2665, allocations: 162.2 kB / 385.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2665, allocations: 0 / 385.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.2896, allocations: 11.98 MB / 397 MB, free: 6.336 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.2898, allocations: 241.6 kB / 397.3 MB, free: 6.078 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.235, allocations: 2.953 kB / 397.3 MB, free: 6.078 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