Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 105.3 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 196 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 47.92 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2681, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004549/0.2727, allocations: 3.662 MB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.2743, allocations: 0.9657 MB / 404.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2745, allocations: 7.938 kB / 404.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.2749, allocations: 115 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.2752, allocations: 194.3 kB / 405.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.2755, allocations: 131.8 kB / 405.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.2762, allocations: 0.6886 MB / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.2765, allocations: 192 kB / 406.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.2767, allocations: 251.1 kB / 406.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.277, allocations: 298.8 kB / 406.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.2771, allocations: 56 kB / 406.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.4e-05/0.2772, allocations: 60 kB / 406.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.2773, allocations: 123.5 kB / 406.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.2776, allocations: 310.6 kB / 407.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.2782, allocations: 0.6967 MB / 407.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2782, allocations: 8 kB / 407.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2782, allocations: 3.938 kB / 408 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2782, allocations: 0 / 408 MB, free: 1.066 MB / 318.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.001452/0.2797, allocations: 0.8855 MB / 408.8 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2797, allocations: 8.031 kB / 408.8 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2798, allocations: 75.28 kB / 408.9 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.28, allocations: 76.23 kB / 409 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.2806, allocations: 438.4 kB / 409.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/0.2807, allocations: 62.91 kB / 409.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.2808, allocations: 28.38 kB / 409.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.2816, allocations: 0.489 MB / 410 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2816, allocations: 0 / 410 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2816, allocations: 16 kB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2817, allocations: 12 kB / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.2824, allocations: 338.4 kB / 410.4 MB, free: 14.49 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.001871/0.2843, allocations: 1.294 MB / 411.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.285, allocations: 379.5 kB / 412 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.2854, allocations: 180.8 kB / 412.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2854, allocations: 8.578 kB / 412.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2855, allocations: 38.56 kB / 412.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.2855, allocations: 0 / 412.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001507/0.287, allocations: 0.723 MB / 413 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.2872, allocations: 444.9 kB / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.2876, allocations: 461.9 kB / 413.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2877, allocations: 41.64 kB / 413.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2878, allocations: 240.4 kB / 414.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.2879, allocations: 122.2 kB / 414.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2881, allocations: 81.62 kB / 414.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2882, allocations: 358.8 kB / 414.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2886, allocations: 135.9 kB / 414.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.289, allocations: 284.9 kB / 415.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.2898, allocations: 341.1 kB / 415.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2898, allocations: 0 / 415.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009518/0.2907, allocations: 493.7 kB / 415.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.2908, allocations: 29.7 kB / 415.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2908, allocations: 0 / 415.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.291, allocations: 57.62 kB / 416 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.2914, allocations: 83.97 kB / 416.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.2937, allocations: 2.962 MB / 419 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.2941, allocations: 47.7 kB / 419.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2941, allocations: 12 kB / 419.1 MB, free: 5.059 MB / 334.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.0002087/0.2943, allocations: 173.8 kB / 419.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.2944, allocations: 55.34 kB / 419.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.2945, allocations: 56.7 kB / 419.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2946, allocations: 4 kB / 419.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2946, allocations: 3.938 kB / 419.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000966/0.2955, allocations: 0.7309 MB / 420.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.2971, allocations: 1.009 MB / 421.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2971, allocations: 3.938 kB / 421.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.2975, allocations: 83.88 kB / 421.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2975, allocations: 4 kB / 421.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2976, allocations: 11.98 kB / 421.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2976, allocations: 4 kB / 421.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2976, allocations: 3.938 kB / 421.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2988, allocations: 0.6452 MB / 421.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.299, allocations: 176.5 kB / 422 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.299, allocations: 8 kB / 422.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.2994, allocations: 23.97 kB / 422.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.2995, allocations: 31.89 kB / 422.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2995, allocations: 12 kB / 422.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.2998, allocations: 327.1 kB / 422.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2998, allocations: 4.062 kB / 422.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.3003, allocations: 135.8 kB / 422.6 MB, free: 1.359 MB / 334.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.001499/0.3018, allocations: 1.2 MB / 423.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.303, allocations: 0.6371 MB / 424.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.303, allocations: 0 / 424.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.3034, allocations: 184.2 kB / 424.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.3041, allocations: 141.9 kB / 424.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00649/0.3106, allocations: 4.505 MB / 429.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.311, allocations: 0.8314 MB / 430.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.3113, allocations: 68.28 kB / 430.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.3115, allocations: 175.4 kB / 430.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3116, allocations: 4 kB / 430.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.3491, allocations: 13.94 MB / 444.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.21, allocations: 8.688 kB / 444.3 MB, free: 11.76 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches