Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.00164/0.00164, allocations: 112.2 kB / 17.17 MB, free: 6.32 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.001944/0.001944, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009452/0.0009453, allocations: 42.95 kB / 300.6 MB, free: 6.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09817, allocations: 49.45 MB / 350.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004464/0.1027, allocations: 3.072 MB / 353.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1045, allocations: 0.9552 MB / 354.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.105, allocations: 11.94 kB / 354.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1053, allocations: 71.42 kB / 354.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1057, allocations: 83.25 kB / 354.2 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.1063, allocations: 183.8 kB / 354.4 MB, free: 392 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007535/0.1071, allocations: 0.5135 MB / 354.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.1075, allocations: 210.2 kB / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.1078, allocations: 155.2 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.108, allocations: 167 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.1081, allocations: 24 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1082, allocations: 43.92 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.1083, allocations: 75.58 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1085, allocations: 214.7 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.109, allocations: 407.3 kB / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.109, allocations: 0 / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.109, allocations: 7.938 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.109, allocations: 0 / 356.2 MB, free: 14.57 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.001382/0.1104, allocations: 0.7444 MB / 357 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1105, allocations: 8.031 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1106, allocations: 60.03 kB / 357 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.1112, allocations: 398.4 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1112, allocations: 32.94 kB / 357.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.1113, allocations: 44 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.1121, allocations: 483.4 kB / 358 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1121, allocations: 0 / 358 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.1122, allocations: 27.94 kB / 358 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1122, allocations: 12 kB / 358 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.1127, allocations: 246.2 kB / 358.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.1151, allocations: 2.823 MB / 361.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1156, allocations: 162.6 kB / 361.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1158, allocations: 72.88 kB / 361.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.116, allocations: 89.09 kB / 361.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.116, allocations: 34.5 kB / 361.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.572e-06/0.116, allocations: 0 / 361.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00136/0.1174, allocations: 0.6205 MB / 362 MB, free: 8.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1174, allocations: 55.41 kB / 362.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.1178, allocations: 349.5 kB / 362.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1178, allocations: 29.7 kB / 362.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.118, allocations: 307 kB / 362.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1181, allocations: 59.11 kB / 362.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.1182, allocations: 69.59 kB / 362.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1183, allocations: 350.7 kB / 363.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1185, allocations: 63.97 kB / 363.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.1187, allocations: 219.6 kB / 363.5 MB, free: 6.754 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.0009523/0.1197, allocations: 0.5176 MB / 364 MB, free: 6.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1197, allocations: 7.938 kB / 364 MB, free: 6.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005955/0.1203, allocations: 357.4 kB / 364.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1203, allocations: 12.62 kB / 364.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1204, allocations: 8 kB / 364.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.1205, allocations: 36.84 kB / 364.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1208, allocations: 75.84 kB / 364.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.122, allocations: 1.463 MB / 366 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1222, allocations: 20.14 kB / 366 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.1222, allocations: 16 kB / 366 MB, free: 4.02 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.0002037/0.1224, allocations: 181.6 kB / 366.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1225, allocations: 35.53 kB / 366.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.1226, allocations: 43.59 kB / 366.3 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1226, allocations: 4 kB / 366.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1226, allocations: 0 / 366.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1226, allocations: 3.984 kB / 366.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.1236, allocations: 0.7057 MB / 367 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1236, allocations: 0 / 367 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1238, allocations: 43.94 kB / 367 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.1239, allocations: 20.86 kB / 367 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1239, allocations: 7.984 kB / 367 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.1249, allocations: 1.327 MB / 368.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1249, allocations: 4 kB / 368.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1254, allocations: 364.8 kB / 368.7 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.1255, allocations: 104.8 kB / 368.8 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1255, allocations: 0 / 368.8 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1257, allocations: 27.98 kB / 368.9 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.1257, allocations: 7.984 kB / 368.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1258, allocations: 4 kB / 368.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.126, allocations: 235.2 kB / 369.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.126, allocations: 0 / 369.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1265, allocations: 68 kB / 369.2 MB, free: 0.5938 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.0001135/0.1266, allocations: 111.2 kB / 369.3 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.1272, allocations: 310.2 kB / 369.6 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1272, allocations: 0 / 369.6 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1547/0.2819, allocations: 181.5 kB / 369.8 MB, free: 25.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.2824, allocations: 40.77 kB / 369.8 MB, free: 25.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.2841, allocations: 1.066 MB / 370.9 MB, free: 25.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2844, allocations: 0.8131 MB / 371.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.2845, allocations: 34.52 kB / 371.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2845, allocations: 0 / 371.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01041/0.2949, allocations: 6.363 MB / 378.1 MB, free: 23.23 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches