Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 102.6 kB / 17.59 MB, free: 5.418 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.001514/0.001514, allocations: 191.3 kB / 18.51 MB, free: 4.496 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.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001074, allocations: 49.89 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1175, allocations: 49.45 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005385/0.1229, allocations: 3.058 MB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1253, allocations: 0.9591 MB / 354.7 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.1258, allocations: 15.94 kB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.1262, allocations: 95.05 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.1268, allocations: 99 kB / 354.9 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.1275, allocations: 211.6 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008185/0.1283, allocations: 0.5448 MB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.1288, allocations: 222.7 kB / 355.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.1291, allocations: 171.3 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1294, allocations: 179 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.251e-05/0.1295, allocations: 39.94 kB / 356.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1296, allocations: 51.98 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1297, allocations: 87.64 kB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.13, allocations: 226.7 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.1306, allocations: 0.553 MB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1307, allocations: 4 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1307, allocations: 0 / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.1307, allocations: 0 / 357.2 MB, free: 13.89 MB / 302.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.001281/0.132, allocations: 0.7405 MB / 358 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.132, allocations: 15.89 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1322, allocations: 64.02 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.1328, allocations: 398.3 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1328, allocations: 33 kB / 358.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1329, allocations: 36 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.1337, allocations: 487.4 kB / 359 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.1337, allocations: 15.92 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1338, allocations: 16 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1338, allocations: 12 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.1343, allocations: 246.1 kB / 359.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.1368, allocations: 2.838 MB / 362.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.1372, allocations: 166.7 kB / 362.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1374, allocations: 68.83 kB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.1375, allocations: 85.11 kB / 362.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1376, allocations: 38.44 kB / 362.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.1376, allocations: 0 / 362.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001393/0.139, allocations: 0.6223 MB / 363.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1391, allocations: 55.41 kB / 363.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.1394, allocations: 345.5 kB / 363.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1394, allocations: 29.7 kB / 363.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1396, allocations: 299 kB / 363.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.1397, allocations: 67.09 kB / 363.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.1398, allocations: 65.61 kB / 363.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.14, allocations: 354.7 kB / 364.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1401, allocations: 59.97 kB / 364.3 MB, free: 6.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1404, allocations: 219.6 kB / 364.5 MB, free: 6.051 MB / 302.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.0009312/0.1413, allocations: 0.516 MB / 365 MB, free: 5.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1413, allocations: 0 / 365 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005605/0.1419, allocations: 360 kB / 365.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1419, allocations: 8 kB / 365.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1419, allocations: 4 kB / 365.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.1421, allocations: 32.84 kB / 365.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1423, allocations: 84.36 kB / 365.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.1437, allocations: 1.631 MB / 367.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1439, allocations: 19.98 kB / 367.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1439, allocations: 12 kB / 367.2 MB, free: 3.156 MB / 302.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.0002117/0.1441, allocations: 177.6 kB / 367.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.1442, allocations: 39.47 kB / 367.4 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.1442, allocations: 35.58 kB / 367.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1443, allocations: 8.062 kB / 367.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1443, allocations: 4 kB / 367.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1443, allocations: 0 / 367.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.1452, allocations: 0.7133 MB / 368.1 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.1452, allocations: 4 kB / 368.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1454, allocations: 31.92 kB / 368.2 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.727e-05/0.1455, allocations: 28.88 kB / 368.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1455, allocations: 8 kB / 368.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.1467, allocations: 1.43 MB / 369.6 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1467, allocations: 0 / 369.6 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.1473, allocations: 372.5 kB / 370 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1942/0.3416, allocations: 99.33 kB / 370.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.3417, allocations: 6.453 kB / 370.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3419, allocations: 4.391 kB / 370.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.342, allocations: 17.44 kB / 370.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.342, allocations: 4.328 kB / 370.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002928/0.3423, allocations: 237 kB / 370.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3423, allocations: 0 / 370.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005985/0.3429, allocations: 68.08 kB / 370.4 MB, free: 25.79 MB / 302.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.0001141/0.3431, allocations: 100.6 kB / 370.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.3437, allocations: 319.7 kB / 370.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3437, allocations: 0.9062 kB / 370.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3439, allocations: 187.4 kB / 371 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3443, allocations: 40.5 kB / 371.1 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3456, allocations: 0.8769 MB / 372 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3459, allocations: 0.8167 MB / 372.8 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.346, allocations: 35.25 kB / 372.8 MB, free: 24.33 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.346, allocations: 0 / 372.8 MB, free: 24.33 MB / 302.1 MB Notification: Performance of Templates: time 0.009138/0.3552, allocations: 6.376 MB / 379.2 MB, free: 23.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches