Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001033, allocations: 91.17 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.413e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5553, allocations: 80.87 MB / 482.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5556, allocations: 76.94 kB / 483 MB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02039/0.576, allocations: 7.974 MB / 490.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5761, allocations: 0 / 490.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.5761, allocations: 15.83 kB / 490.9 MB, free: 1.953 MB / 346.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.0008837/0.577, allocations: 0.6124 MB / 491.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5771, allocations: 12.03 kB / 491.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.5773, allocations: 67.33 kB / 491.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.5779, allocations: 358.7 kB / 492 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.5779, allocations: 27.81 kB / 492 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.578, allocations: 42.34 kB / 492.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.5788, allocations: 474 kB / 492.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5789, allocations: 15.91 kB / 492.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.5789, allocations: 16.38 kB / 492.6 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5789, allocations: 12 kB / 492.6 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.5795, allocations: 225.4 kB / 492.8 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.5826, allocations: 2.798 MB / 495.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.5832, allocations: 151.8 kB / 495.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.5834, allocations: 64.8 kB / 495.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.5836, allocations: 89.09 kB / 495.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5836, allocations: 38.52 kB / 495.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/0.5837, allocations: 4 kB / 495.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001598/0.5853, allocations: 0.5468 MB / 496.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.5854, allocations: 55.41 kB / 496.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.5858, allocations: 298.8 kB / 496.8 MB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.5859, allocations: 33.7 kB / 496.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.5861, allocations: 306.9 kB / 497.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.5862, allocations: 59.11 kB / 497.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.5863, allocations: 8 kB / 497.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5865, allocations: 350.8 kB / 497.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.5866, allocations: 59.94 kB / 497.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.5869, allocations: 203.9 kB / 497.8 MB, free: 10.9 MB / 362.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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.5877, allocations: 269.9 kB / 498.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5877, allocations: 0 / 498.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007037/0.5884, allocations: 339.6 kB / 498.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.5884, allocations: 8 kB / 498.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5885, allocations: 4 kB / 498.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.5887, allocations: 48.41 kB / 498.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.589, allocations: 75.91 kB / 498.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.5907, allocations: 1.46 MB / 0.4883 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5909, allocations: 19.91 kB / 0.4883 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.591, allocations: 16 kB / 0.4883 GB, free: 8.523 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 () * 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.000158/0.5912, allocations: 128.8 kB / 0.4884 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.5912, allocations: 31.62 kB / 0.4885 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.5913, allocations: 43.39 kB / 0.4885 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5914, allocations: 4 kB / 0.4885 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5914, allocations: 0.75 kB / 0.4885 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5914, allocations: 3.984 kB / 0.4885 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5926, allocations: 0.6465 MB / 0.4892 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5926, allocations: 0 / 0.4892 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.5929, allocations: 39.97 kB / 0.4892 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.593, allocations: 25.03 kB / 0.4892 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.593, allocations: 0 / 0.4892 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.5942, allocations: 1.328 MB / 0.4905 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5942, allocations: 5.281 kB / 0.4905 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.5948, allocations: 355.5 kB / 0.4909 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5949, allocations: 104.6 kB / 0.491 GB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.595, allocations: 11.95 kB / 0.491 GB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.5951, allocations: 12.03 kB / 0.491 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.5952, allocations: 15.98 kB / 0.491 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5952, allocations: 4 kB / 0.491 GB, free: 5.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.5955, allocations: 229.2 kB / 0.4912 GB, free: 5.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5955, allocations: 0 / 0.4912 GB, free: 5.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005473/0.5961, allocations: 72 kB / 0.4913 GB, free: 5.23 MB / 362.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 () * 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.0002166/0.5963, allocations: 113.1 kB / 0.4914 GB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007387/0.5971, allocations: 297.9 kB / 0.4917 GB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5971, allocations: 1.375 kB / 0.4917 GB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5973, allocations: 172.8 kB / 0.4918 GB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.5977, allocations: 39.33 kB / 0.4919 GB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.599, allocations: 0.6306 MB / 0.4925 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.5995, allocations: 0.8328 MB / 0.4933 GB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.5997, allocations: 39.27 kB / 0.4933 GB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.5998, allocations: 31.42 kB / 0.4934 GB, free: 3.012 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5998, allocations: 0 / 0.4934 GB, free: 3.012 MB / 362.7 MB Notification: Performance of Templates: time 0.007007/0.6068, allocations: 2.448 MB / 0.4958 GB, free: 0.6211 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches