Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 109.6 kB / 18.3 MB, free: 4.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 208 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 227.7 MB / 247.7 MB, free: 10.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 76.84 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1106, allocations: 50.53 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004941/0.1155, allocations: 3.069 MB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1177, allocations: 1.029 MB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.118, allocations: 11.94 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.1183, allocations: 103 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1185, allocations: 102.9 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.1191, allocations: 227.6 kB / 363 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.1197, allocations: 0.5371 MB / 363.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.1201, allocations: 226.6 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.1204, allocations: 175.2 kB / 363.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1206, allocations: 179 kB / 364.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.1207, allocations: 43.94 kB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1209, allocations: 59.98 kB / 364.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.1209, allocations: 83.64 kB / 364.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.1212, allocations: 230.7 kB / 364.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.1218, allocations: 0.5608 MB / 365 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1218, allocations: 0 / 365 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1219, allocations: 4 kB / 365 MB, free: 7.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1219, allocations: 0 / 365 MB, free: 7.277 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.001099/0.123, allocations: 0.7405 MB / 365.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.123, allocations: 8.031 kB / 365.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.1232, allocations: 64.03 kB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.1238, allocations: 406.3 kB / 366.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.1238, allocations: 33 kB / 366.3 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.1239, allocations: 43.91 kB / 366.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.1247, allocations: 487.4 kB / 366.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1247, allocations: 3.938 kB / 366.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.1248, allocations: 24 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1248, allocations: 12 kB / 366.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.1253, allocations: 246.1 kB / 367.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.1279, allocations: 2.83 MB / 369.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.1284, allocations: 162.7 kB / 370.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1285, allocations: 76.77 kB / 370.1 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.1288, allocations: 81.11 kB / 370.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1288, allocations: 38.5 kB / 370.3 MB, free: 1.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1288, allocations: 0 / 370.3 MB, free: 1.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001417/0.1302, allocations: 0.6239 MB / 370.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1303, allocations: 59.31 kB / 370.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.1307, allocations: 341.6 kB / 371.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1307, allocations: 33.64 kB / 371.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.131, allocations: 306.9 kB / 371.6 MB, free: 276 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.131, allocations: 67.03 kB / 371.7 MB, free: 208 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1311, allocations: 69.56 kB / 371.7 MB, free: 132 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1778/0.3089, allocations: 350.5 kB / 372.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.3092, allocations: 63.88 kB / 372.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3095, allocations: 212.2 kB / 372.3 MB, free: 20.39 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.0009944/0.3105, allocations: 0.5169 MB / 372.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3105, allocations: 2.531 kB / 372.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006225/0.3111, allocations: 360.8 kB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3112, allocations: 10.44 kB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3112, allocations: 6.547 kB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.3113, allocations: 37.02 kB / 373.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3116, allocations: 70.05 kB / 373.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.3126, allocations: 1.638 MB / 375 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3128, allocations: 12.22 kB / 375 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3129, allocations: 18.48 kB / 375 MB, free: 18.35 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.0002103/0.3131, allocations: 175 kB / 375.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.3132, allocations: 36.25 kB / 375.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.3132, allocations: 41.8 kB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3133, allocations: 3.062 kB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3133, allocations: 1.062 kB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3133, allocations: 0.9375 kB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.3142, allocations: 0.7092 MB / 376 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3142, allocations: 3.656 kB / 376 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.3144, allocations: 36.05 kB / 376 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-05/0.3145, allocations: 31.41 kB / 376 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3145, allocations: 2.703 kB / 376 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007182/0.3152, allocations: 1.421 MB / 377.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3152, allocations: 4.875 kB / 377.5 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.3158, allocations: 364.1 kB / 377.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.3159, allocations: 108.3 kB / 377.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3159, allocations: 10.89 kB / 377.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.316, allocations: 3.219 kB / 377.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3161, allocations: 18.39 kB / 378 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3161, allocations: 7.75 kB / 378 MB, free: 15.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3164, allocations: 237.5 kB / 378.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3164, allocations: 3.938 kB / 378.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3169, allocations: 67.41 kB / 378.3 MB, free: 15.73 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.0001241/0.3171, allocations: 98.78 kB / 378.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.3177, allocations: 319.5 kB / 378.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3177, allocations: 1.375 kB / 378.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3179, allocations: 184.3 kB / 378.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3182, allocations: 41.59 kB / 378.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3196, allocations: 0.8875 MB / 379.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3199, allocations: 0.8167 MB / 380.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.3199, allocations: 36.53 kB / 380.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3199, allocations: 0 / 380.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01105/0.331, allocations: 6.403 MB / 387 MB, free: 12.57 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches