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.001463/0.001463, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.001991, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.11 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2694, allocations: 50.54 MB / 408.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004762/0.2742, allocations: 3.676 MB / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2761, allocations: 0.9968 MB / 413.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.2765, allocations: 8 kB / 413.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.2769, allocations: 115 kB / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.2774, allocations: 190.3 kB / 413.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.2778, allocations: 135.8 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.2787, allocations: 0.6844 MB / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.279, allocations: 199.9 kB / 414.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.2794, allocations: 251.1 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.2798, allocations: 302.7 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.28, allocations: 56 kB / 415.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2801, allocations: 60 kB / 415.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.2802, allocations: 119.6 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.2805, allocations: 310.5 kB / 415.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.2811, allocations: 0.6968 MB / 416.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2811, allocations: 0 / 416.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2812, allocations: 0 / 416.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.2812, allocations: 4 kB / 416.5 MB, free: 9.848 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.001769/0.283, allocations: 0.8894 MB / 417.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.283, allocations: 12.03 kB / 417.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.2832, allocations: 75.38 kB / 417.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2833, allocations: 68.19 kB / 417.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.2841, allocations: 438.4 kB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.2842, allocations: 62.91 kB / 418 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.2843, allocations: 40.3 kB / 418.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.2851, allocations: 496.8 kB / 418.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2851, allocations: 3.984 kB / 418.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2852, allocations: 16 kB / 418.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2852, allocations: 8 kB / 418.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.286, allocations: 342.3 kB / 418.9 MB, free: 7.266 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.001999/0.288, allocations: 1.283 MB / 420.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.2887, allocations: 383.4 kB / 420.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.2891, allocations: 176.8 kB / 420.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2892, allocations: 19.86 kB / 420.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2892, allocations: 46.56 kB / 420.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.2892, allocations: 0 / 420.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001561/0.2908, allocations: 0.7206 MB / 421.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.291, allocations: 448.9 kB / 422 MB, free: 3.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.2914, allocations: 457.9 kB / 422.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.2915, allocations: 37.64 kB / 422.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.2917, allocations: 244.4 kB / 422.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/0.2918, allocations: 122.2 kB / 422.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.2919, allocations: 81.62 kB / 422.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.292, allocations: 358.8 kB / 423.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.2924, allocations: 139.7 kB / 423.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.2929, allocations: 278.8 kB / 423.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.2936, allocations: 337.2 kB / 424 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2937, allocations: 0 / 424 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009814/0.2946, allocations: 497.7 kB / 424.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.2947, allocations: 33.69 kB / 424.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2947, allocations: 0 / 424.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.2949, allocations: 49.69 kB / 424.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.2953, allocations: 83.88 kB / 424.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.2976, allocations: 2.953 MB / 427.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.298, allocations: 59.59 kB / 427.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.2981, allocations: 12 kB / 427.7 MB, free: 13.83 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.0002016/0.2983, allocations: 173.6 kB / 427.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.2984, allocations: 51.44 kB / 427.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.2985, allocations: 56.73 kB / 427.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2985, allocations: 4 kB / 427.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2985, allocations: 3.938 kB / 428 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008977/0.2994, allocations: 0.7321 MB / 428.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.301, allocations: 1.017 MB / 429.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.301, allocations: 3.938 kB / 429.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.3014, allocations: 87.86 kB / 429.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3015, allocations: 4 kB / 429.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.3015, allocations: 11.94 kB / 429.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3015, allocations: 3.938 kB / 429.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3015, allocations: 4 kB / 429.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3027, allocations: 0.6402 MB / 430.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3029, allocations: 176.3 kB / 430.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.303, allocations: 12.06 kB / 430.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.3034, allocations: 23.97 kB / 430.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.3035, allocations: 23.97 kB / 430.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3035, allocations: 15.98 kB / 430.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.3038, allocations: 323.1 kB / 431 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3039, allocations: 3.938 kB / 431 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000435/0.3043, allocations: 135.8 kB / 431.2 MB, free: 10.13 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.001524/0.3058, allocations: 1.208 MB / 432.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.307, allocations: 0.6294 MB / 433 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.307, allocations: 0 / 433 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.3074, allocations: 179.8 kB / 433.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.3081, allocations: 137.8 kB / 433.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.3143, allocations: 4.509 MB / 437.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3147, allocations: 0.8391 MB / 438.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.3149, allocations: 60.34 kB / 438.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3152, allocations: 175.4 kB / 438.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3152, allocations: 0 / 438.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.3529, allocations: 13.94 MB / 452.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.93, allocations: 23.56 kB / 452.8 MB, free: 4.508 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.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