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.001076/0.001075, allocations: 113.5 kB / 17.28 MB, free: 6.219 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.001078/0.001078, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.632/1.632, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001349/0.001349, allocations: 43.94 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004981/0.1163, allocations: 3.084 MB / 329.9 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1186, allocations: 0.9835 MB / 330.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.1191, allocations: 15.88 kB / 330.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1195, allocations: 75.36 kB / 330.9 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1197, allocations: 79.27 kB / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1203, allocations: 191.8 kB / 331.2 MB, free: 360 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.1208, allocations: 0.545 MB / 331.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.1212, allocations: 218.6 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1214, allocations: 175.2 kB / 332.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1216, allocations: 179 kB / 332.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.1217, allocations: 36 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1218, allocations: 48 kB / 332.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.1219, allocations: 95.62 kB / 332.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1221, allocations: 222.7 kB / 332.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.1226, allocations: 0.553 MB / 333.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1226, allocations: 3.938 kB / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1226, allocations: 0 / 333.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1226, allocations: 0 / 333.3 MB, free: 14.29 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.001127/0.1238, allocations: 0.7445 MB / 334 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1238, allocations: 11.89 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.858e-05/0.1239, allocations: 63.94 kB / 334.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.1244, allocations: 398.4 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1245, allocations: 29 kB / 334.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.1246, allocations: 44 kB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.1253, allocations: 487.2 kB / 335 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1254, allocations: 4 kB / 335 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1254, allocations: 16 kB / 335 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1254, allocations: 12 kB / 335 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1259, allocations: 258.1 kB / 335.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1283, allocations: 2.83 MB / 338.1 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.1287, allocations: 162.6 kB / 338.3 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1289, allocations: 68.88 kB / 338.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.1291, allocations: 89.09 kB / 338.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1292, allocations: 38.5 kB / 338.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.1292, allocations: 0 / 338.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001528/0.1307, allocations: 0.6217 MB / 339.1 MB, free: 8.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1308, allocations: 51.41 kB / 339.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.1312, allocations: 353.5 kB / 339.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1312, allocations: 37.64 kB / 339.5 MB, free: 7.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1315, allocations: 303 kB / 339.8 MB, free: 7.273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.1315, allocations: 59.11 kB / 339.9 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1316, allocations: 73.55 kB / 339.9 MB, free: 7.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1318, allocations: 350.7 kB / 340.3 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1319, allocations: 67.75 kB / 340.4 MB, free: 6.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1322, allocations: 219.7 kB / 340.6 MB, free: 6.434 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.0009068/0.1331, allocations: 0.5043 MB / 341.1 MB, free: 5.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1331, allocations: 0 / 341.1 MB, free: 5.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005388/0.1337, allocations: 361.9 kB / 341.4 MB, free: 5.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1337, allocations: 12.12 kB / 341.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1337, allocations: 4 kB / 341.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.1339, allocations: 32.84 kB / 341.5 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.1341, allocations: 75.91 kB / 341.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.1355, allocations: 1.639 MB / 343.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1357, allocations: 28.05 kB / 343.2 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1357, allocations: 12 kB / 343.2 MB, free: 3.531 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.0001972/0.1359, allocations: 169.7 kB / 343.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.136, allocations: 39.47 kB / 343.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.136, allocations: 43.52 kB / 343.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.136, allocations: 4 kB / 343.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.136, allocations: 0 / 343.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1361, allocations: 0 / 343.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.137, allocations: 0.7152 MB / 344.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.137, allocations: 4 kB / 344.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1372, allocations: 27.98 kB / 344.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/0.1373, allocations: 28.78 kB / 344.3 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1373, allocations: 12.03 kB / 344.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.1383, allocations: 1.43 MB / 345.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1383, allocations: 3.938 kB / 345.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.1388, allocations: 360.6 kB / 346.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.1389, allocations: 104.8 kB / 346.2 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.139, allocations: 8.062 kB / 346.2 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1391, allocations: 15.91 kB / 346.2 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1392, allocations: 19.84 kB / 346.2 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1392, allocations: 11.94 kB / 346.2 MB, free: 292 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1394, allocations: 231.2 kB / 346.4 MB, free: 60 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1394, allocations: 3.938 kB / 346.4 MB, free: 56 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.1399, allocations: 68.05 kB / 346.5 MB, free: 15.98 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.0001474/0.14, allocations: 103.2 kB / 346.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.1406, allocations: 311.6 kB / 346.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1406, allocations: 128 / 346.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.1408, allocations: 190.5 kB / 347.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1412, allocations: 29.56 kB / 347.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1427, allocations: 1.029 MB / 348.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1431, allocations: 0.8223 MB / 349 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1432, allocations: 39.27 kB / 349 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.1433, allocations: 31.44 kB / 349 MB, free: 13.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1433, allocations: 0 / 349 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Templates: time 0.006712/0.15, allocations: 2.663 MB / 351.7 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