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.001215/0.001215, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002907/0.002907, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2476, allocations: 50.55 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004518/0.2521, allocations: 3.511 MB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2537, allocations: 0.9696 MB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.2539, allocations: 7.938 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.2542, allocations: 111.1 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.2546, allocations: 178.4 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2549, allocations: 127.8 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.2556, allocations: 0.6419 MB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.2559, allocations: 190.8 kB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.2561, allocations: 239.1 kB / 414.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2565, allocations: 278.8 kB / 415 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.2565, allocations: 52 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.2566, allocations: 52 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2568, allocations: 119.6 kB / 415.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.257, allocations: 290.7 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.2577, allocations: 0.6488 MB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2577, allocations: 4 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2578, allocations: 3.938 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2578, allocations: 0 / 416.2 MB, free: 10.03 MB / 334.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.001385/0.2592, allocations: 0.8581 MB / 417.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2592, allocations: 8.031 kB / 417.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.2593, allocations: 79.67 kB / 417.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2594, allocations: 64.61 kB / 417.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.26, allocations: 403.3 kB / 417.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2601, allocations: 55.27 kB / 417.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.2602, allocations: 32.38 kB / 417.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.2609, allocations: 478 kB / 418.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.261, allocations: 0 / 418.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.261, allocations: 16 kB / 418.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.261, allocations: 8 kB / 418.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.2616, allocations: 279.8 kB / 418.5 MB, free: 7.613 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.002043/0.2637, allocations: 1.316 MB / 419.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2648, allocations: 436.5 kB / 420.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.2651, allocations: 144.7 kB / 420.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.2651, allocations: 4 kB / 420.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2652, allocations: 42.56 kB / 420.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.2652, allocations: 4 kB / 420.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001161/0.2664, allocations: 0.6064 MB / 421 MB, free: 4.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002294/0.2666, allocations: 445 kB / 421.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/0.2671, allocations: 453.9 kB / 421.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2672, allocations: 33.7 kB / 421.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2673, allocations: 240.7 kB / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.2674, allocations: 123 kB / 422.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2676, allocations: 74.02 kB / 422.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2678, allocations: 350.8 kB / 422.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.2681, allocations: 108.6 kB / 422.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.2685, allocations: 256.1 kB / 423 MB, free: 2.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.269, allocations: 277.2 kB / 423.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.269, allocations: 0 / 423.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007326/0.2697, allocations: 420.6 kB / 423.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.2698, allocations: 29.7 kB / 423.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2698, allocations: 0 / 423.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.2699, allocations: 57.62 kB / 423.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.2703, allocations: 67.94 kB / 423.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.2729, allocations: 2.969 MB / 426.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2733, allocations: 43.77 kB / 426.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.2733, allocations: 12.09 kB / 426.9 MB, free: 14.48 MB / 350.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.0001998/0.2735, allocations: 173.7 kB / 427.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.2736, allocations: 55.67 kB / 427.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.2737, allocations: 52.64 kB / 427.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2737, allocations: 4 kB / 427.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2737, allocations: 4 kB / 427.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007173/0.2745, allocations: 0.6453 MB / 427.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2758, allocations: 0.9087 MB / 428.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2758, allocations: 4 kB / 428.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.2761, allocations: 67.91 kB / 428.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2761, allocations: 4 kB / 428.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.2762, allocations: 11.92 kB / 428.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2762, allocations: 4 kB / 428.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2762, allocations: 0 / 428.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.277, allocations: 0.5124 MB / 429.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.2772, allocations: 164.7 kB / 429.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2773, allocations: 12.06 kB / 429.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.2776, allocations: 15.98 kB / 429.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2776, allocations: 20.2 kB / 429.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2777, allocations: 12 kB / 429.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003566/0.278, allocations: 315.1 kB / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.278, allocations: 0 / 429.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.2784, allocations: 135.9 kB / 430 MB, free: 11.17 MB / 350.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.001166/0.2796, allocations: 1.081 MB / 431.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.2805, allocations: 0.5672 MB / 431.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2806, allocations: 4.125 kB / 431.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.2808, allocations: 123.8 kB / 431.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.2814, allocations: 133.8 kB / 431.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.2872, allocations: 4.264 MB / 436.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.2876, allocations: 0.8198 MB / 437 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.2879, allocations: 60.34 kB / 437 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.2881, allocations: 163.4 kB / 437.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.113e-06/0.2881, allocations: 3.938 kB / 437.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.3296, allocations: 12.74 MB / 449.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.32, allocations: 7.5 kB / 449.9 MB, free: 7.301 MB / 366.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.1.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