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/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: 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/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002372/0.002372, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.12/2.12, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4143, allocations: 50.53 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.006641/0.421, allocations: 3.08 MB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.4239, allocations: 1.033 MB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.4244, allocations: 11.94 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.4249, allocations: 95.05 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.4253, allocations: 99 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.4262, allocations: 235.5 kB / 414.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.4273, allocations: 0.5449 MB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.4278, allocations: 218.7 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.4281, allocations: 175.2 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.4284, allocations: 182.9 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.4284, allocations: 36 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4286, allocations: 63.98 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.4287, allocations: 87.64 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.4289, allocations: 226.7 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.4295, allocations: 0.581 MB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4295, allocations: 0 / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4295, allocations: 0 / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.4295, allocations: 0 / 416.5 MB, free: 10.95 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001053/0.4306, allocations: 0.7522 MB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4306, allocations: 12.02 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.4308, allocations: 67.94 kB / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.4315, allocations: 426.3 kB / 417.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4316, allocations: 29 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.4317, allocations: 47.94 kB / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.4324, allocations: 487.2 kB / 418.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4324, allocations: 8 kB / 418.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4325, allocations: 16 kB / 418.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4325, allocations: 12 kB / 418.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.433, allocations: 250.1 kB / 418.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.4352, allocations: 2.815 MB / 421.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.4357, allocations: 166.7 kB / 421.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.4359, allocations: 68.84 kB / 421.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.436, allocations: 85.09 kB / 421.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.436, allocations: 34.5 kB / 421.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.436, allocations: 0 / 421.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001302/0.4373, allocations: 0.6213 MB / 422.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4374, allocations: 59.34 kB / 422.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4378, allocations: 349.6 kB / 422.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4378, allocations: 25.7 kB / 422.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.438, allocations: 303 kB / 423.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.438, allocations: 71.03 kB / 423.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4381, allocations: 73.56 kB / 423.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4383, allocations: 346.7 kB / 423.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4384, allocations: 67.97 kB / 423.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.4387, allocations: 207.5 kB / 423.9 MB, free: 3.098 MB / 334.1 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.0009693/0.4396, allocations: 0.5213 MB / 424.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4397, allocations: 7.938 kB / 424.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005901/0.4402, allocations: 360.5 kB / 424.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4403, allocations: 4 kB / 424.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4403, allocations: 8 kB / 424.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.4404, allocations: 36.84 kB / 424.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.4407, allocations: 71.89 kB / 424.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.442, allocations: 1.636 MB / 426.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4422, allocations: 19.98 kB / 426.5 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.4422, allocations: 16 kB / 426.5 MB, free: 196 kB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4424, allocations: 177.7 kB / 426.7 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.4425, allocations: 39.64 kB / 426.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.376e-05/0.4426, allocations: 43.58 kB / 426.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4426, allocations: 0 / 426.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4426, allocations: 0 / 426.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4426, allocations: 4 kB / 426.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.4436, allocations: 0.7135 MB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4437, allocations: 3.984 kB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4439, allocations: 35.97 kB / 427.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.685e-05/0.444, allocations: 28.84 kB / 427.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.444, allocations: 3.938 kB / 427.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/0.445, allocations: 1.422 MB / 429 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.445, allocations: 4.031 kB / 429 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.4455, allocations: 365 kB / 429.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.4456, allocations: 108.7 kB / 429.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4456, allocations: 8 kB / 429.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4457, allocations: 0 / 429.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4458, allocations: 23.86 kB / 429.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4458, allocations: 4 kB / 429.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.4461, allocations: 239.2 kB / 429.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4461, allocations: 0 / 429.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.4465, allocations: 68 kB / 429.8 MB, free: 12.64 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.4466, allocations: 102.7 kB / 429.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.4473, allocations: 323.4 kB / 430.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4473, allocations: 0 / 430.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4475, allocations: 178.6 kB / 430.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4479, allocations: 41.78 kB / 430.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4493, allocations: 0.8743 MB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4497, allocations: 0.8146 MB / 432.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.4498, allocations: 31.42 kB / 432.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4498, allocations: 0 / 432.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.00877/0.4586, allocations: 6.517 MB / 438.7 MB, free: 3.676 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches