Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001126/0.001126, allocations: 102.8 kB / 17.16 MB, free: 6.32 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.001137/0.001137, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 43.94 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1113, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003941/0.1153, allocations: 3.08 MB / 329.7 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1168, allocations: 0.9796 MB / 330.7 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.117, allocations: 11.94 kB / 330.7 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.1172, allocations: 67.44 kB / 330.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1174, allocations: 83.25 kB / 330.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1178, allocations: 195.8 kB / 331 MB, free: 452 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.1183, allocations: 0.5098 MB / 331.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1186, allocations: 206.1 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1188, allocations: 163.2 kB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.119, allocations: 167 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.119, allocations: 27.98 kB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1191, allocations: 35.94 kB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.1192, allocations: 71.64 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1194, allocations: 206.8 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.1198, allocations: 0.5062 MB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1198, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1198, allocations: 3.938 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1198, allocations: 3.938 kB / 332.9 MB, free: 14.55 MB / 286.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.0008348/0.1207, allocations: 0.7445 MB / 333.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.41e-05/0.1207, allocations: 8.031 kB / 333.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1208, allocations: 63.94 kB / 333.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1213, allocations: 402.3 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1213, allocations: 29 kB / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.1213, allocations: 40 kB / 334.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.1221, allocations: 487.3 kB / 334.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1221, allocations: 7.938 kB / 334.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1221, allocations: 20 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1222, allocations: 12 kB / 334.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.1226, allocations: 250.1 kB / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.1248, allocations: 2.834 MB / 337.8 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.1253, allocations: 158.7 kB / 337.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1254, allocations: 68.88 kB / 338 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.1256, allocations: 89.08 kB / 338.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1257, allocations: 46.44 kB / 338.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1257, allocations: 0 / 338.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001369/0.1271, allocations: 0.6145 MB / 338.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.1271, allocations: 51.41 kB / 338.8 MB, free: 8.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1275, allocations: 345.5 kB / 339.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1275, allocations: 33.7 kB / 339.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.1277, allocations: 303 kB / 339.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1278, allocations: 59.11 kB / 339.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.1279, allocations: 73.55 kB / 339.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1281, allocations: 350.7 kB / 339.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1282, allocations: 67.75 kB / 340 MB, free: 6.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1285, allocations: 223.5 kB / 340.2 MB, free: 6.703 MB / 286.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.0008824/0.1294, allocations: 0.512 MB / 340.7 MB, free: 6.102 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1294, allocations: 0 / 340.7 MB, free: 6.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005272/0.1299, allocations: 361.4 kB / 341.1 MB, free: 5.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1299, allocations: 11.12 kB / 341.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1299, allocations: 8.625 kB / 341.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.1301, allocations: 36.78 kB / 341.1 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1303, allocations: 79.84 kB / 341.2 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1315, allocations: 1.475 MB / 342.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1318, allocations: 20 kB / 342.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1318, allocations: 15.94 kB / 342.7 MB, free: 3.957 MB / 286.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.0002523/0.132, allocations: 173.7 kB / 342.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.1321, allocations: 35.53 kB / 342.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.1322, allocations: 39.53 kB / 342.9 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1322, allocations: 8.062 kB / 343 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1322, allocations: 0 / 343 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1322, allocations: 3.984 kB / 343 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/0.1332, allocations: 0.7113 MB / 343.7 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1332, allocations: 0 / 343.7 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1334, allocations: 31.97 kB / 343.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-05/0.1335, allocations: 24.89 kB / 343.7 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1335, allocations: 11.98 kB / 343.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008175/0.1343, allocations: 1.328 MB / 345.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1343, allocations: 8.094 kB / 345.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.1348, allocations: 360.6 kB / 345.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1349, allocations: 108.7 kB / 345.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1349, allocations: 4 kB / 345.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.135, allocations: 16.03 kB / 345.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1351, allocations: 11.98 kB / 345.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1351, allocations: 0 / 345.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1353, allocations: 239.2 kB / 345.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1353, allocations: 0 / 345.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.1357, allocations: 68 kB / 345.9 MB, free: 0.5391 MB / 286.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.0001151/0.1359, allocations: 103.2 kB / 346 MB, free: 436 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005488/0.1364, allocations: 311.7 kB / 346.3 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1364, allocations: 0 / 346.3 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1367, allocations: 183.2 kB / 346.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.137, allocations: 45.56 kB / 346.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1384, allocations: 1.027 MB / 347.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1387, allocations: 0.8184 MB / 348.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1389, allocations: 47.25 kB / 348.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.1389, allocations: 23.44 kB / 348.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.139, allocations: 0 / 348.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Templates: time 0.006062/0.145, allocations: 2.566 MB / 351 MB, free: 11.34 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches