Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.8/2.8, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 106.5 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003944, allocations: 4 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4192, allocations: 51.3 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.5827, allocations: 80.87 MB / 489.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.5831, allocations: 75.97 kB / 489.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.6128, allocations: 7.996 MB / 497.6 MB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.6129, allocations: 0 / 497.6 MB, free: 2.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.004e-05/0.613, allocations: 19.98 kB / 497.6 MB, free: 2.504 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001597/0.6146, allocations: 0.6471 MB / 498.3 MB, free: 1.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.103e-05/0.6147, allocations: 8.031 kB / 498.3 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.6151, allocations: 68.28 kB / 498.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/0.6159, allocations: 380.7 kB / 498.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.616, allocations: 33.38 kB / 498.7 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6161, allocations: 40.38 kB / 498.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6174, allocations: 491.8 kB / 499.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.6175, allocations: 8.125 kB / 499.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.6176, allocations: 19.94 kB / 499.3 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.6176, allocations: 12 kB / 499.3 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.6184, allocations: 246.2 kB / 499.5 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007657/0.6261, allocations: 2.801 MB / 0.4906 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.627, allocations: 162.6 kB / 0.4907 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.6272, allocations: 76.83 kB / 0.4908 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.6274, allocations: 81.11 kB / 0.4909 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6275, allocations: 34.56 kB / 0.4909 GB, free: 13.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 6.021e-06/0.6275, allocations: 3.938 kB / 0.4909 GB, free: 13.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002075/0.6296, allocations: 0.629 MB / 0.4915 GB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.6297, allocations: 55.41 kB / 0.4916 GB, free: 12.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.6303, allocations: 345.5 kB / 0.4919 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.6303, allocations: 29.7 kB / 0.4919 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.6306, allocations: 302.9 kB / 0.4922 GB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.6307, allocations: 67.08 kB / 0.4923 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.6308, allocations: 4 kB / 0.4923 GB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.631, allocations: 354.8 kB / 0.4926 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.6312, allocations: 63.97 kB / 0.4927 GB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.6316, allocations: 227.4 kB / 0.4929 GB, free: 10.86 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.6332, allocations: 0.5215 MB / 0.4934 GB, free: 10.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6332, allocations: 4 kB / 0.4934 GB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009599/0.6342, allocations: 360.5 kB / 0.4938 GB, free: 9.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6342, allocations: 7.5 kB / 0.4938 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6343, allocations: 8 kB / 0.4938 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6345, allocations: 36.84 kB / 0.4938 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.6349, allocations: 79.83 kB / 0.4939 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.6368, allocations: 1.456 MB / 0.4953 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.6372, allocations: 27.92 kB / 0.4953 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.6372, allocations: 20 kB / 0.4954 GB, free: 8.129 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.6377, allocations: 169.7 kB / 0.4955 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.6378, allocations: 43.53 kB / 0.4956 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.6379, allocations: 39.58 kB / 0.4956 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.638, allocations: 4 kB / 0.4956 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.638, allocations: 0 / 0.4956 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.638, allocations: 0 / 0.4956 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6395, allocations: 0.6561 MB / 0.4962 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6395, allocations: 0 / 0.4962 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.6398, allocations: 39.91 kB / 0.4963 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.64, allocations: 24.84 kB / 0.4963 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.64, allocations: 4 kB / 0.4963 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.6416, allocations: 1.32 MB / 0.4976 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6416, allocations: 0 / 0.4976 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.6425, allocations: 379.1 kB / 0.498 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6426, allocations: 104.6 kB / 0.4981 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.6427, allocations: 0 / 0.4981 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.6429, allocations: 16.03 kB / 0.4981 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.643, allocations: 11.92 kB / 0.4981 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.643, allocations: 11.94 kB / 0.4981 GB, free: 5.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.6434, allocations: 235.2 kB / 0.4983 GB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6434, allocations: 0 / 0.4983 GB, free: 4.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007963/0.6442, allocations: 68 kB / 0.4984 GB, free: 4.777 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.6445, allocations: 118.8 kB / 0.4985 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.6454, allocations: 310.9 kB / 0.4988 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6455, allocations: 4 kB / 0.4988 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.6458, allocations: 179.5 kB / 0.499 GB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.6464, allocations: 48.33 kB / 0.499 GB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.6488, allocations: 1.069 MB / 0.5001 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.6494, allocations: 0.8148 MB / 0.5009 GB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.6496, allocations: 35.42 kB / 0.5009 GB, free: 2.117 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6496, allocations: 0 / 0.5009 GB, free: 2.117 MB / 378.7 MB Notification: Performance of Templates: time 0.368/1.018, allocations: 6.286 MB / 0.507 GB, free: 94.88 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches