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.0012/0.0012, allocations: 111.3 kB / 17.28 MB, free: 6.312 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.001275/0.001275, allocations: 189.4 kB / 18.21 MB, free: 5.387 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.465/1.465, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 50.62 kB / 300.8 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09387, allocations: 49.45 MB / 350.2 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004592/0.0985, allocations: 3.08 MB / 353.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1004, allocations: 0.9474 MB / 354.3 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.1007, allocations: 7.938 kB / 354.3 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1011, allocations: 71.42 kB / 354.3 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1014, allocations: 87.25 kB / 354.4 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.102, allocations: 191.8 kB / 354.6 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1026, allocations: 0.5372 MB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.103, allocations: 222.6 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.1033, allocations: 179.2 kB / 355.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1036, allocations: 175 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.1037, allocations: 40 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1038, allocations: 51.92 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.1039, allocations: 91.62 kB / 355.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.1041, allocations: 230.7 kB / 356.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.1046, allocations: 447.2 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1046, allocations: 0 / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1046, allocations: 3.938 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.1046, allocations: 4 kB / 356.6 MB, free: 14.15 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.001104/0.1057, allocations: 0.7483 MB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1058, allocations: 11.89 kB / 357.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1059, allocations: 60.03 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.1064, allocations: 402.3 kB / 357.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1065, allocations: 29 kB / 357.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.1065, allocations: 44 kB / 357.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.1073, allocations: 479.4 kB / 358.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1074, allocations: 7.938 kB / 358.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1074, allocations: 16 kB / 358.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1074, allocations: 19.94 kB / 358.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.1079, allocations: 254.1 kB / 358.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.1104, allocations: 2.819 MB / 361.4 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.1108, allocations: 166.6 kB / 361.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.111, allocations: 72.88 kB / 361.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.1112, allocations: 89.09 kB / 361.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1112, allocations: 34.5 kB / 361.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1112, allocations: 0 / 361.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001361/0.1126, allocations: 0.6261 MB / 362.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1126, allocations: 55.41 kB / 362.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.113, allocations: 345.5 kB / 362.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.113, allocations: 33.7 kB / 362.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1132, allocations: 303 kB / 363.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.1133, allocations: 59.11 kB / 363.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.1134, allocations: 69.59 kB / 363.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1135, allocations: 350.7 kB / 363.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1137, allocations: 67.97 kB / 363.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1139, allocations: 215.6 kB / 363.9 MB, free: 6.312 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.0009057/0.1148, allocations: 0.5114 MB / 364.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1148, allocations: 4 kB / 364.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005853/0.1154, allocations: 361.8 kB / 364.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1155, allocations: 8 kB / 364.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1155, allocations: 4 kB / 364.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.1156, allocations: 36.78 kB / 364.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1159, allocations: 79.84 kB / 364.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1173, allocations: 1.631 MB / 366.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1175, allocations: 24.05 kB / 366.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1175, allocations: 16 kB / 366.5 MB, free: 3.41 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.0002019/0.1177, allocations: 175.2 kB / 366.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1177, allocations: 39.47 kB / 366.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.1178, allocations: 35.58 kB / 366.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1178, allocations: 4 kB / 366.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1178, allocations: 4 kB / 366.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1179, allocations: 0 / 366.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/0.1188, allocations: 0.7174 MB / 367.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1188, allocations: 8 kB / 367.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.119, allocations: 31.92 kB / 367.5 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.427e-05/0.1191, allocations: 28.88 kB / 367.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1191, allocations: 8 kB / 367.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009663/0.1201, allocations: 1.43 MB / 369 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1201, allocations: 0 / 369 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.1206, allocations: 367.7 kB / 369.4 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.1207, allocations: 112.7 kB / 369.5 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1207, allocations: 0 / 369.5 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1209, allocations: 12 kB / 369.5 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1209, allocations: 15.91 kB / 369.5 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.121, allocations: 4 kB / 369.5 MB, free: 172 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1688/0.2898, allocations: 230.8 kB / 369.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2898, allocations: 0 / 369.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006602/0.2905, allocations: 69.97 kB / 369.8 MB, free: 25.17 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.2906, allocations: 102.7 kB / 369.9 MB, free: 25.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.2913, allocations: 315 kB / 370.2 MB, free: 24.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2913, allocations: 1.031 kB / 370.2 MB, free: 24.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2915, allocations: 190.3 kB / 370.4 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.2919, allocations: 39.88 kB / 370.4 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2934, allocations: 1.056 MB / 371.5 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2937, allocations: 0.816 MB / 372.3 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.2938, allocations: 34.97 kB / 372.3 MB, free: 23.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2938, allocations: 1.406 kB / 372.3 MB, free: 23.54 MB / 302.1 MB Notification: Performance of Templates: time 0.009711/0.3035, allocations: 6.366 MB / 378.7 MB, free: 22.51 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