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.001173/0.001173, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 60.38 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07785, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004065/0.08195, allocations: 3.501 MB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.08344, allocations: 0.9852 MB / 362.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.08368, allocations: 4 kB / 362.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.08399, allocations: 111 kB / 362.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.08436, allocations: 182.4 kB / 362.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.08462, allocations: 127.8 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.08521, allocations: 0.6224 MB / 363.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.08548, allocations: 199.1 kB / 363.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.08571, allocations: 235.1 kB / 363.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.08601, allocations: 274.8 kB / 363.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.0861, allocations: 52 kB / 363.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.08619, allocations: 52 kB / 363.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.08629, allocations: 123.6 kB / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.08655, allocations: 294.6 kB / 364.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.08704, allocations: 0.6307 MB / 364.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08705, allocations: 0 / 364.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08706, allocations: 3.938 kB / 364.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.08707, allocations: 0 / 364.9 MB, free: 6.633 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.001179/0.08826, allocations: 0.8467 MB / 365.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.0883, allocations: 12.03 kB / 365.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.84e-05/0.08841, allocations: 71.72 kB / 365.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.08851, allocations: 64.19 kB / 365.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.08894, allocations: 391.1 kB / 366.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.08904, allocations: 67.17 kB / 366.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.0891, allocations: 40.28 kB / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.08971, allocations: 474 kB / 366.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.08974, allocations: 4 kB / 366.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.08978, allocations: 12 kB / 366.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.08979, allocations: 8 kB / 366.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.09031, allocations: 283.8 kB / 367.2 MB, free: 4.219 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.001794/0.09211, allocations: 1.316 MB / 368.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.09314, allocations: 428.5 kB / 368.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.09339, allocations: 140.8 kB / 369.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.09343, allocations: 11.97 kB / 369.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.09346, allocations: 38.56 kB / 369.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.09346, allocations: 0 / 369.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001003/0.09447, allocations: 0.6062 MB / 369.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.09463, allocations: 441 kB / 370.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.09506, allocations: 454 kB / 370.6 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.0951, allocations: 33.7 kB / 370.6 MB, free: 488 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.09525, allocations: 236.3 kB / 370.8 MB, free: 248 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.09533, allocations: 118.4 kB / 371 MB, free: 128 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.09545, allocations: 74.03 kB / 371 MB, free: 48 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1297/0.2252, allocations: 352.5 kB / 371.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.2256, allocations: 102.4 kB / 371.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.226, allocations: 258.2 kB / 371.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.2265, allocations: 277.1 kB / 372 MB, free: 19.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2265, allocations: 0 / 372 MB, free: 19.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007671/0.2273, allocations: 418.5 kB / 372.4 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.2273, allocations: 32.94 kB / 372.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2273, allocations: 1.062 kB / 372.4 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2275, allocations: 55.58 kB / 372.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2278, allocations: 66.33 kB / 372.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.2297, allocations: 2.981 MB / 375.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.2302, allocations: 44.89 kB / 375.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.2302, allocations: 12.58 kB / 375.6 MB, free: 17.04 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.0002387/0.2304, allocations: 164.2 kB / 375.8 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2306, allocations: 48.98 kB / 375.8 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.2307, allocations: 59.78 kB / 375.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2307, allocations: 7.125 kB / 375.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2307, allocations: 0.6562 kB / 375.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005501/0.2312, allocations: 0.6458 MB / 376.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2325, allocations: 0.9087 MB / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2325, allocations: 0 / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.2328, allocations: 71.16 kB / 377.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2328, allocations: 4.562 kB / 377.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2328, allocations: 6.812 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2329, allocations: 1.75 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2329, allocations: 0.5 kB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.2336, allocations: 0.5225 MB / 378 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2337, allocations: 163.5 kB / 378.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.2338, allocations: 10.73 kB / 378.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.2341, allocations: 19.7 kB / 378.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2341, allocations: 16.28 kB / 378.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.2341, allocations: 10.2 kB / 378.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.2345, allocations: 322.8 kB / 378.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2345, allocations: 0 / 378.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.2349, allocations: 132.2 kB / 378.7 MB, free: 15.12 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.0008499/0.2357, allocations: 1.068 MB / 379.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007774/0.2365, allocations: 0.5739 MB / 380.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2365, allocations: 5.406 kB / 380.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2368, allocations: 125.9 kB / 380.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.2374, allocations: 133.9 kB / 380.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.2419, allocations: 4.393 MB / 385 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2421, allocations: 0.8169 MB / 385.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002485/0.2424, allocations: 64.61 kB / 385.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2425, allocations: 161.2 kB / 386 MB, free: 10.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2426, allocations: 0 / 386 MB, free: 10.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.855/2.098, allocations: 12.54 MB / 398.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/14.88, allocations: 3.266 kB / 398.6 MB, free: 5.551 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