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.001068/0.001068, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001181/0.001181, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.336/1.336, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.002087/0.002087, allocations: 51.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004201/0.1101, allocations: 3.054 MB / 331.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1116, allocations: 1.011 MB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.1118, allocations: 11.94 kB / 332.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1121, allocations: 91.05 kB / 332.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1123, allocations: 95.02 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1128, allocations: 219.6 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.1133, allocations: 0.5488 MB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.1137, allocations: 222.7 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1139, allocations: 171.3 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1141, allocations: 179 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.1141, allocations: 39.94 kB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1143, allocations: 55.98 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.1143, allocations: 87.64 kB / 334.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1145, allocations: 226.7 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.115, allocations: 0.5643 MB / 335.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.115, allocations: 3.984 kB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.115, allocations: 0 / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.115, allocations: 0 / 335.3 MB, free: 13.16 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.0009903/0.116, allocations: 0.7445 MB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1161, allocations: 11.89 kB / 336 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.1162, allocations: 63.94 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.1168, allocations: 418.3 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1168, allocations: 29 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.1169, allocations: 44 kB / 336.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.1176, allocations: 491.3 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1177, allocations: 7.875 kB / 337 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.1177, allocations: 24 kB / 337.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1177, allocations: 12 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.1182, allocations: 246.1 kB / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.1203, allocations: 2.807 MB / 340.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.1207, allocations: 178.6 kB / 340.3 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1209, allocations: 72.78 kB / 340.4 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.121, allocations: 85.09 kB / 340.5 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.121, allocations: 34.5 kB / 340.5 MB, free: 7.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1211, allocations: 0 / 340.5 MB, free: 7.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.1223, allocations: 0.6234 MB / 341.1 MB, free: 6.891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1224, allocations: 59.39 kB / 341.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1227, allocations: 345.5 kB / 341.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1228, allocations: 29.7 kB / 341.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.123, allocations: 303 kB / 341.8 MB, free: 6.137 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.123, allocations: 67.03 kB / 341.9 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.1231, allocations: 73.56 kB / 342 MB, free: 5.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1233, allocations: 350.7 kB / 342.3 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1234, allocations: 63.97 kB / 342.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1236, allocations: 211.5 kB / 342.6 MB, free: 5.301 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.0008728/0.1245, allocations: 0.5043 MB / 343.1 MB, free: 4.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1245, allocations: 8 kB / 343.1 MB, free: 4.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005387/0.1251, allocations: 357.8 kB / 343.4 MB, free: 4.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1251, allocations: 8 kB / 343.5 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1251, allocations: 8 kB / 343.5 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.1253, allocations: 36.78 kB / 343.5 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1255, allocations: 75.89 kB / 343.6 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1268, allocations: 1.627 MB / 345.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1269, allocations: 19.98 kB / 345.2 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.127, allocations: 12 kB / 345.2 MB, free: 2.41 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.0001827/0.1271, allocations: 177.8 kB / 345.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.1272, allocations: 39.47 kB / 345.4 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.1273, allocations: 39.59 kB / 345.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.1273, allocations: 4.125 kB / 345.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1273, allocations: 7.922 kB / 345.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1273, allocations: 0 / 345.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.1282, allocations: 0.7073 MB / 346.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1282, allocations: 4 kB / 346.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1284, allocations: 39.91 kB / 346.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.955e-05/0.1285, allocations: 24.84 kB / 346.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1285, allocations: 8 kB / 346.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009322/0.1295, allocations: 1.43 MB / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1295, allocations: 0 / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.13, allocations: 378 kB / 348.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1301, allocations: 100.7 kB / 348.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1301, allocations: 4.031 kB / 348.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1302, allocations: 8 kB / 348.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1303, allocations: 11.92 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1303, allocations: 8 kB / 348.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1305, allocations: 235.2 kB / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1305, allocations: 4 kB / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.131, allocations: 68 kB / 348.5 MB, free: 14.88 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.0001187/0.1311, allocations: 103.4 kB / 348.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.1316, allocations: 315.5 kB / 348.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1316, allocations: 0 / 348.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1319, allocations: 178.6 kB / 349.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1322, allocations: 45.53 kB / 349.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1336, allocations: 0.8374 MB / 350 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.1341, allocations: 0.8146 MB / 350.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1342, allocations: 39.27 kB / 350.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.1343, allocations: 31.42 kB / 350.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1343, allocations: 4 kB / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Templates: time 0.007239/0.1415, allocations: 2.673 MB / 353.5 MB, free: 9.766 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches