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.001415/0.001415, allocations: 121.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001475, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2648, allocations: 50.55 MB / 408.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00495/0.2698, allocations: 3.68 MB / 412.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2715, allocations: 1.009 MB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2717, allocations: 4 kB / 413.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.272, allocations: 115 kB / 413.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.2724, allocations: 186.4 kB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2727, allocations: 139.8 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.2735, allocations: 0.6808 MB / 414.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.2738, allocations: 194.2 kB / 414.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2741, allocations: 259.1 kB / 415.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.2745, allocations: 298.7 kB / 415.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.2746, allocations: 56 kB / 415.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2747, allocations: 60 kB / 415.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.2748, allocations: 119.6 kB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.2751, allocations: 314.5 kB / 415.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.2759, allocations: 0.6964 MB / 416.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2759, allocations: 0 / 416.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2759, allocations: 0 / 416.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2759, allocations: 0 / 416.6 MB, free: 9.793 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001584/0.2775, allocations: 0.9085 MB / 417.5 MB, free: 8.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2776, allocations: 8.031 kB / 417.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.2777, allocations: 91.31 kB / 417.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2778, allocations: 64.56 kB / 417.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/0.2786, allocations: 438.8 kB / 418.1 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.2787, allocations: 58.91 kB / 418.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.2788, allocations: 36.31 kB / 418.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.2797, allocations: 0.4891 MB / 418.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2797, allocations: 0 / 418.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.2797, allocations: 16 kB / 418.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2798, allocations: 8 kB / 418.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.2806, allocations: 338.4 kB / 419 MB, free: 7.195 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.002139/0.2828, allocations: 1.295 MB / 420.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.2835, allocations: 381.8 kB / 420.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.2839, allocations: 180.8 kB / 420.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.284, allocations: 11.97 kB / 420.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.2841, allocations: 46.5 kB / 420.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.2841, allocations: 0 / 420.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001722/0.2858, allocations: 0.7324 MB / 421.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.286, allocations: 445 kB / 422.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.2866, allocations: 461.8 kB / 422.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.2867, allocations: 33.7 kB / 422.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.2869, allocations: 244.7 kB / 422.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.287, allocations: 122.9 kB / 422.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2871, allocations: 81.64 kB / 423 MB, free: 2.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2873, allocations: 362.8 kB / 423.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.2877, allocations: 143.7 kB / 423.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.2882, allocations: 278.8 kB / 423.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.289, allocations: 329.2 kB / 424.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.289, allocations: 4 kB / 424.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001072/0.2901, allocations: 490 kB / 424.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.2902, allocations: 37.72 kB / 424.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2902, allocations: 4 kB / 424.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.2904, allocations: 41.7 kB / 424.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.2908, allocations: 87.88 kB / 424.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.2937, allocations: 2.965 MB / 427.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.2942, allocations: 51.78 kB / 427.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.2943, allocations: 16 kB / 427.8 MB, free: 13.74 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 (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.0002843/0.2946, allocations: 169.8 kB / 427.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.2947, allocations: 55.67 kB / 428 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2948, allocations: 52.75 kB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2948, allocations: 4 kB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.2948, allocations: 3.938 kB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.2959, allocations: 0.7282 MB / 428.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.2978, allocations: 1.017 MB / 429.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2978, allocations: 3.938 kB / 429.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.2982, allocations: 87.88 kB / 429.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2982, allocations: 0 / 429.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2983, allocations: 7.938 kB / 429.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.2983, allocations: 4 kB / 429.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2983, allocations: 3.938 kB / 429.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.2996, allocations: 0.6522 MB / 430.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.2999, allocations: 172.6 kB / 430.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.3, allocations: 11.94 kB / 430.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.3003, allocations: 36.03 kB / 430.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3004, allocations: 23.95 kB / 430.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3005, allocations: 12 kB / 430.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.3009, allocations: 323.1 kB / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3009, allocations: 0 / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3014, allocations: 135.9 kB / 431.3 MB, free: 10.05 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 (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.001706/0.3031, allocations: 1.204 MB / 432.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3045, allocations: 0.641 MB / 433.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3045, allocations: 3.938 kB / 433.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.305, allocations: 179.8 kB / 433.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.3056, allocations: 145.9 kB / 433.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.3125, allocations: 4.516 MB / 437.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.3131, allocations: 0.8314 MB / 438.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.3133, allocations: 60.34 kB / 438.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.3136, allocations: 179.3 kB / 439 MB, free: 2.098 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3136, allocations: 0 / 439 MB, free: 2.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.3614, allocations: 13.66 MB / 452.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.48, allocations: 16.88 kB / 452.7 MB, free: 4.703 MB / 366.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.1.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