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.001121/0.001121, allocations: 98.53 kB / 16.96 MB, free: 6.441 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.001642/0.001642, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.744/1.744, allocations: 205.4 MB / 224 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.0004491/0.0004492, allocations: 8 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 47.59 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003275/0.1147, allocations: 2.584 MB / 330.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1163, allocations: 0.9294 MB / 331.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1164, allocations: 11.94 kB / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1166, allocations: 67.38 kB / 331.9 MB, free: 476 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1168, allocations: 83.25 kB / 332 MB, free: 392 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1172, allocations: 151.8 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.1178, allocations: 482.1 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.1181, allocations: 162 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1183, allocations: 131.4 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1184, allocations: 139.1 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1185, allocations: 16 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.1186, allocations: 27.98 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1187, allocations: 59.64 kB / 333.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.182e-05/0.1187, allocations: 109.5 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1191, allocations: 403.2 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1191, allocations: 0 / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1191, allocations: 0 / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1192, allocations: 0 / 333.7 MB, free: 14.72 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.0008756/0.12, allocations: 0.6509 MB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1201, allocations: 12.02 kB / 334.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.1202, allocations: 67.19 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.1207, allocations: 386.6 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1207, allocations: 32.95 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.1208, allocations: 44 kB / 334.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1215, allocations: 483.3 kB / 335.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.1215, allocations: 15.92 kB / 335.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.1215, allocations: 20 kB / 335.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.661e-05/0.1216, allocations: 12 kB / 335.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.1221, allocations: 242.2 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.1244, allocations: 2.831 MB / 338.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.1249, allocations: 170.7 kB / 338.6 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.125, allocations: 64.84 kB / 338.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.1252, allocations: 93.05 kB / 338.8 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1252, allocations: 30.56 kB / 338.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1252, allocations: 3.938 kB / 338.8 MB, free: 9.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001324/0.1266, allocations: 0.6301 MB / 339.4 MB, free: 8.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1266, allocations: 51.41 kB / 339.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.127, allocations: 349.5 kB / 339.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.127, allocations: 29.7 kB / 339.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1272, allocations: 299 kB / 340.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1273, allocations: 67.08 kB / 340.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.1273, allocations: 12 kB / 340.2 MB, free: 7.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1275, allocations: 350.8 kB / 340.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1276, allocations: 71.7 kB / 340.6 MB, free: 7.312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1279, allocations: 215.8 kB / 340.8 MB, free: 7.031 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.1285, allocations: 273.6 kB / 341.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1285, allocations: 4 kB / 341.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005788/0.1291, allocations: 361.4 kB / 341.5 MB, free: 6.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1291, allocations: 4 kB / 341.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1291, allocations: 8.688 kB / 341.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.1293, allocations: 40.84 kB / 341.5 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.1296, allocations: 79.83 kB / 341.6 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.1311, allocations: 1.467 MB / 343.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1313, allocations: 19.98 kB / 343.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1313, allocations: 16 kB / 343.1 MB, free: 4.605 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: 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 () * 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 (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.0002146/0.1316, allocations: 174 kB / 343.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.1316, allocations: 39.55 kB / 343.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.1317, allocations: 47.58 kB / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1317, allocations: 0 / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1317, allocations: 0 / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1317, allocations: 4 kB / 343.3 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.1326, allocations: 0.7114 MB / 344.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1327, allocations: 3.984 kB / 344.1 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1328, allocations: 35.92 kB / 344.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.164e-05/0.1329, allocations: 28.84 kB / 344.1 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1329, allocations: 0 / 344.1 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009552/0.1339, allocations: 1.332 MB / 345.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1339, allocations: 0 / 345.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.1345, allocations: 364.7 kB / 345.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1346, allocations: 108.6 kB / 345.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1346, allocations: 8 kB / 345.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1347, allocations: 11.98 kB / 345.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.1348, allocations: 15.98 kB / 346 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1348, allocations: 4 kB / 346 MB, free: 1.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1351, allocations: 231.2 kB / 346.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1351, allocations: 0 / 346.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1355, allocations: 68 kB / 346.3 MB, free: 1.18 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 (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.0001445/0.1357, allocations: 115 kB / 346.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.1363, allocations: 310.7 kB / 346.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1363, allocations: 0 / 346.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.1365, allocations: 186.6 kB / 346.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1369, allocations: 34.11 kB / 346.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1384, allocations: 1.048 MB / 347.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.1388, allocations: 0.8261 MB / 348.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1389, allocations: 39.27 kB / 348.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.139, allocations: 39.36 kB / 348.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.139, allocations: 4 kB / 348.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.006564/0.1456, allocations: 2.447 MB / 351.3 MB, free: 12.06 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