Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008499/0.0008499, allocations: 92.41 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008485/0.000849, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000192/0.000192, allocations: 11.98 kB / 307.8 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08366, allocations: 51.52 MB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003034/0.08673, allocations: 3.327 MB / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.08799, allocations: 0.9503 MB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.08815, allocations: 7.938 kB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.08839, allocations: 87.42 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.08872, allocations: 170.7 kB / 363.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.08894, allocations: 119.8 kB / 364 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.0895, allocations: 0.6496 MB / 364.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.08974, allocations: 176 kB / 364.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.08996, allocations: 227.1 kB / 365 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.09022, allocations: 270.7 kB / 365.3 MB, free: 7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.09029, allocations: 36 kB / 365.3 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.09036, allocations: 36 kB / 365.4 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.09044, allocations: 99.59 kB / 365.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.09069, allocations: 316.2 kB / 365.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.09117, allocations: 0.6498 MB / 366.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09118, allocations: 0 / 366.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09119, allocations: 0 / 366.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.0912, allocations: 4 kB / 366.4 MB, free: 5.859 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001187/0.09239, allocations: 0.8077 MB / 367.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09244, allocations: 8.031 kB / 367.3 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.09255, allocations: 79.36 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/0.09265, allocations: 68.19 kB / 367.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.09323, allocations: 442.4 kB / 367.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.09343, allocations: 86.88 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.09349, allocations: 28.38 kB / 367.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.09431, allocations: 0.5086 MB / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.09434, allocations: 4 kB / 368.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.09438, allocations: 16 kB / 368.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.09439, allocations: 8 kB / 368.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/0.09527, allocations: 390.4 kB / 368.9 MB, free: 3.273 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.001743/0.09702, allocations: 1.318 MB / 370.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.09772, allocations: 411.4 kB / 370.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.09816, allocations: 204.7 kB / 370.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.0982, allocations: 11.98 kB / 370.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.09823, allocations: 42.56 kB / 370.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.09824, allocations: 0 / 370.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001602/0.09985, allocations: 0.7899 MB / 371.6 MB, free: 336 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1385/0.2384, allocations: 442.5 kB / 372.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.239, allocations: 460.4 kB / 372.5 MB, free: 19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.2391, allocations: 34.89 kB / 372.5 MB, free: 18.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2393, allocations: 242.7 kB / 372.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.2394, allocations: 124.8 kB / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.2394, allocations: 34.25 kB / 372.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.2395, allocations: 357 kB / 373.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.2399, allocations: 164.9 kB / 373.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.2404, allocations: 309.7 kB / 373.7 MB, free: 18.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.2413, allocations: 383.5 kB / 374.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2413, allocations: 0 / 374.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001153/0.2424, allocations: 0.5247 MB / 374.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.2425, allocations: 33.33 kB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2425, allocations: 1.609 kB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.2427, allocations: 56.8 kB / 374.7 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.2431, allocations: 95.64 kB / 374.8 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.2447, allocations: 2.745 MB / 377.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.2452, allocations: 66.08 kB / 377.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.2452, allocations: 13.55 kB / 377.7 MB, free: 15.65 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 (37): * Single equations (assignments): 34 * 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.000169/0.2454, allocations: 171.4 kB / 377.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.2455, allocations: 56 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.2456, allocations: 52.23 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2456, allocations: 3.844 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2456, allocations: 5.766 kB / 377.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009903/0.2466, allocations: 0.7686 MB / 378.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2481, allocations: 1.068 MB / 379.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2482, allocations: 0 / 379.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.2486, allocations: 103.1 kB / 379.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2486, allocations: 2.062 kB / 379.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2486, allocations: 12.95 kB / 379.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2486, allocations: 1.781 kB / 379.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2486, allocations: 0 / 379.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2499, allocations: 0.727 MB / 380.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2501, allocations: 162.3 kB / 380.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.2501, allocations: 15.47 kB / 380.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.2505, allocations: 42.55 kB / 380.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.2506, allocations: 24.17 kB / 380.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2506, allocations: 4.844 kB / 380.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.2509, allocations: 330.5 kB / 381.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2509, allocations: 0 / 381.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.2514, allocations: 140.8 kB / 381.3 MB, free: 13.58 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 (35): * Single equations (assignments): 35 * 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.001474/0.2528, allocations: 1.269 MB / 382.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.254, allocations: 0.6844 MB / 383.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.254, allocations: 0 / 383.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.2544, allocations: 199.4 kB / 383.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.2551, allocations: 130.5 kB / 383.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.2613, allocations: 5.007 MB / 388.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2616, allocations: 0.8349 MB / 389.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000292/0.2619, allocations: 68.44 kB / 389.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.2621, allocations: 174.6 kB / 389.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2621, allocations: 0 / 389.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2857, allocations: 12.6 MB / 402.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001301/0.2858, allocations: 229.5 kB / 402.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.25, allocations: 0 / 402.5 MB, free: 1.617 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches