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.001069/0.001069, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.001336/0.001336, allocations: 178.5 kB / 18.21 MB, free: 5.531 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.595/1.595, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004431/0.0004434, allocations: 11.94 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003381/0.1144, allocations: 2.699 MB / 331.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1162, allocations: 0.9757 MB / 332.6 MB, free: 56 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1164, allocations: 11.94 kB / 332.6 MB, free: 44 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1167, allocations: 63.55 kB / 332.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1169, allocations: 83.27 kB / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1173, allocations: 191.8 kB / 333 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.1179, allocations: 0.5057 MB / 333.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.1183, allocations: 202.2 kB / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.1185, allocations: 131.3 kB / 333.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1187, allocations: 155 kB / 334 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.1187, allocations: 16 kB / 334 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.1189, allocations: 27.94 kB / 334 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1189, allocations: 63.64 kB / 334.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.1191, allocations: 224.4 kB / 334.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1196, allocations: 0.4905 MB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1197, allocations: 0 / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1197, allocations: 0 / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1197, allocations: 0 / 334.8 MB, free: 13.9 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.0009028/0.1206, allocations: 0.6588 MB / 335.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1206, allocations: 8.031 kB / 335.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.1208, allocations: 67.92 kB / 335.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.1213, allocations: 402.3 kB / 335.9 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.1214, allocations: 29 kB / 335.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.1214, allocations: 36 kB / 336 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/0.1222, allocations: 499.3 kB / 336.5 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1223, allocations: 11.91 kB / 336.5 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.1223, allocations: 20 kB / 336.5 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1223, allocations: 12 kB / 336.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.1228, allocations: 250.1 kB / 336.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1251, allocations: 2.83 MB / 339.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.1255, allocations: 166.7 kB / 339.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1256, allocations: 72.84 kB / 339.8 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.1258, allocations: 85.09 kB / 339.9 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1259, allocations: 42.5 kB / 339.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1259, allocations: 0 / 339.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001282/0.1272, allocations: 0.6327 MB / 340.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1272, allocations: 55.41 kB / 340.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.1276, allocations: 349.5 kB / 341 MB, free: 7.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1277, allocations: 25.7 kB / 341 MB, free: 7.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.1279, allocations: 299 kB / 341.3 MB, free: 6.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.128, allocations: 71.09 kB / 341.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.128, allocations: 33.7 kB / 341.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1282, allocations: 350.7 kB / 341.7 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1283, allocations: 71.7 kB / 341.8 MB, free: 6.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1286, allocations: 219.6 kB / 342 MB, free: 6.137 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.0009078/0.1295, allocations: 0.5276 MB / 342.5 MB, free: 5.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1295, allocations: 4 kB / 342.5 MB, free: 5.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005517/0.1301, allocations: 362 kB / 342.9 MB, free: 5.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1301, allocations: 8 kB / 342.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1301, allocations: 8.062 kB / 342.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.1303, allocations: 36.84 kB / 342.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1305, allocations: 75.84 kB / 343 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.1316, allocations: 1.471 MB / 344.5 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1318, allocations: 16 kB / 344.5 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.1319, allocations: 16 kB / 344.5 MB, free: 3.383 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 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 (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.0001889/0.1321, allocations: 177.7 kB / 344.7 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1321, allocations: 35.53 kB / 344.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/0.1322, allocations: 43.53 kB / 344.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1322, allocations: 0 / 344.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1322, allocations: 0 / 344.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1322, allocations: 3.984 kB / 344.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.1331, allocations: 0.714 MB / 345.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1331, allocations: 0 / 345.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1333, allocations: 43.84 kB / 345.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-05/0.1334, allocations: 24.98 kB / 345.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1334, allocations: 4 kB / 345.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.1343, allocations: 1.335 MB / 346.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1343, allocations: 0 / 346.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1348, allocations: 379.8 kB / 347.3 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.1348, allocations: 104.7 kB / 347.4 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1349, allocations: 0 / 347.4 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.135, allocations: 19.94 kB / 347.4 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1351, allocations: 11.98 kB / 347.4 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1351, allocations: 8 kB / 347.4 MB, free: 244 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1353, allocations: 235.2 kB / 347.6 MB, free: 8 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1353, allocations: 0 / 347.6 MB, free: 8 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.1357, allocations: 68.05 kB / 347.7 MB, free: 15.94 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.0001349/0.1358, allocations: 95.25 kB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.1364, allocations: 314.5 kB / 348.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1364, allocations: 0 / 348.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.1366, allocations: 191.8 kB / 348.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.137, allocations: 41.56 kB / 348.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1384, allocations: 1.098 MB / 349.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1388, allocations: 0.8183 MB / 350.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1389, allocations: 43.2 kB / 350.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.139, allocations: 35.42 kB / 350.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.139, allocations: 0 / 350.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.006036/0.1451, allocations: 2.535 MB / 352.9 MB, free: 10.7 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