Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001844, allocations: 59.66 kB / 307.6 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 50.55 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004661/0.1142, allocations: 3.055 MB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1164, allocations: 1.045 MB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1166, allocations: 11.94 kB / 362.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1169, allocations: 94.98 kB / 362.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1171, allocations: 98.97 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.1176, allocations: 231.6 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.1183, allocations: 0.5371 MB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1186, allocations: 230.6 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.1189, allocations: 179.2 kB / 363.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1191, allocations: 179 kB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.1192, allocations: 36 kB / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1193, allocations: 59.98 kB / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.1194, allocations: 87.64 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1196, allocations: 226.7 kB / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.1203, allocations: 0.5569 MB / 364.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1203, allocations: 4 kB / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1203, allocations: 0 / 364.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1203, allocations: 3.938 kB / 364.8 MB, free: 7.41 MB / 302.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.00106/0.1214, allocations: 0.7444 MB / 365.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1214, allocations: 12.03 kB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.1216, allocations: 68.02 kB / 365.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.1222, allocations: 398.3 kB / 366 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.1222, allocations: 29 kB / 366 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.1223, allocations: 47.91 kB / 366.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.123, allocations: 487.4 kB / 366.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.123, allocations: 3.938 kB / 366.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1231, allocations: 24 kB / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1231, allocations: 8 kB / 366.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.1236, allocations: 254.1 kB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.1262, allocations: 2.827 MB / 369.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1266, allocations: 158.6 kB / 369.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1267, allocations: 68.88 kB / 369.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.1269, allocations: 85.11 kB / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.127, allocations: 38.5 kB / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.127, allocations: 0 / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001305/0.1283, allocations: 0.6201 MB / 370.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1284, allocations: 59.31 kB / 370.7 MB, free: 1.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.1287, allocations: 353.6 kB / 371 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1288, allocations: 25.7 kB / 371.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.129, allocations: 310.8 kB / 371.4 MB, free: 412 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.1291, allocations: 63.11 kB / 371.4 MB, free: 348 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1292, allocations: 73.55 kB / 371.5 MB, free: 268 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1379/0.2671, allocations: 345.8 kB / 371.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.2674, allocations: 64.39 kB / 371.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2676, allocations: 212.8 kB / 372.1 MB, free: 19.89 MB / 302.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.0009602/0.2686, allocations: 0.5167 MB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2686, allocations: 1.062 kB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005833/0.2692, allocations: 358.5 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2692, allocations: 10.58 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2692, allocations: 5.156 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.2694, allocations: 34.77 kB / 373 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2696, allocations: 75.83 kB / 373.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009986/0.2706, allocations: 1.638 MB / 374.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2708, allocations: 10.25 kB / 374.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2708, allocations: 18.58 kB / 374.8 MB, free: 18.03 MB / 302.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.0001804/0.271, allocations: 176.8 kB / 374.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.2711, allocations: 38.88 kB / 375 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.2712, allocations: 39.95 kB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.2712, allocations: 2.531 kB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2712, allocations: 4.812 kB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2712, allocations: 2.125 kB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.2721, allocations: 0.7124 MB / 375.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2721, allocations: 0 / 375.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2723, allocations: 40.61 kB / 375.8 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.812e-05/0.2723, allocations: 23.8 kB / 375.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2724, allocations: 6.922 kB / 375.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.273, allocations: 1.424 MB / 377.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.273, allocations: 1.688 kB / 377.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.2735, allocations: 363.6 kB / 377.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.2736, allocations: 112.1 kB / 377.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2736, allocations: 6.547 kB / 377.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2737, allocations: 11.2 kB / 377.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2738, allocations: 10.56 kB / 377.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2738, allocations: 4.516 kB / 377.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.274, allocations: 241.1 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2741, allocations: 4 kB / 378 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.2745, allocations: 67.75 kB / 378 MB, free: 15.56 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 8.739e-05/0.2746, allocations: 99.77 kB / 378.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.2751, allocations: 317.3 kB / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2751, allocations: 0 / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.2753, allocations: 185.4 kB / 378.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2756, allocations: 41.23 kB / 378.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2768, allocations: 0.8881 MB / 379.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2771, allocations: 0.8171 MB / 380.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.2772, allocations: 36.25 kB / 380.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2772, allocations: 0 / 380.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Templates: time 0.009108/0.2863, allocations: 6.395 MB / 386.8 MB, free: 12.45 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches