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.001397/0.001397, allocations: 101.2 kB / 16.62 MB, free: 6.809 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.001441/0.001441, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.286/1.286, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009308/0.0009308, allocations: 43.17 kB / 300.1 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09086, allocations: 49.45 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003803/0.0947, allocations: 3.083 MB / 352.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.09611, allocations: 0.9357 MB / 353.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.09629, allocations: 11.94 kB / 353.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.09654, allocations: 79.36 kB / 353.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.09673, allocations: 83.27 kB / 353.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.09718, allocations: 187.8 kB / 353.9 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.09773, allocations: 0.5486 MB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.09807, allocations: 222.6 kB / 354.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.09828, allocations: 179.2 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.09847, allocations: 175 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.09854, allocations: 40 kB / 355.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.09865, allocations: 51.98 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.09873, allocations: 87.64 kB / 355.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.09891, allocations: 226.7 kB / 355.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.09941, allocations: 0.5529 MB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09942, allocations: 3.938 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09943, allocations: 8 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.09944, allocations: 0 / 356 MB, free: 14.29 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.0009031/0.1004, allocations: 0.7405 MB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1004, allocations: 11.89 kB / 356.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.1005, allocations: 64.02 kB / 356.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.1009, allocations: 398.4 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.101, allocations: 29 kB / 357.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.101, allocations: 47.98 kB / 357.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.1018, allocations: 487.4 kB / 357.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1018, allocations: 3.984 kB / 357.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1018, allocations: 24 kB / 357.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1019, allocations: 12 kB / 357.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.1023, allocations: 246.1 kB / 358 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1044, allocations: 2.819 MB / 360.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.1048, allocations: 168.3 kB / 361 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1049, allocations: 72.84 kB / 361.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1051, allocations: 85.09 kB / 361.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1051, allocations: 38.5 kB / 361.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1051, allocations: 0 / 361.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001181/0.1063, allocations: 0.6291 MB / 361.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1063, allocations: 59.41 kB / 361.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1067, allocations: 349.5 kB / 362.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1067, allocations: 29.7 kB / 362.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1069, allocations: 299 kB / 362.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1069, allocations: 67.09 kB / 362.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.107, allocations: 65.61 kB / 362.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1071, allocations: 350.7 kB / 363 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1073, allocations: 67.97 kB / 363.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.1075, allocations: 211.6 kB / 363.3 MB, free: 6.453 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.0008631/0.1084, allocations: 0.5105 MB / 363.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1084, allocations: 8 kB / 363.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005296/0.1089, allocations: 361.2 kB / 364.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1089, allocations: 8 kB / 364.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.109, allocations: 11.94 kB / 364.2 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.1091, allocations: 36.84 kB / 364.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1093, allocations: 71.91 kB / 364.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1106, allocations: 1.639 MB / 365.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1107, allocations: 24.05 kB / 366 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1108, allocations: 16 kB / 366 MB, free: 3.543 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.0001642/0.1109, allocations: 171.9 kB / 366.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.111, allocations: 39.47 kB / 366.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.1111, allocations: 43.58 kB / 366.2 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1111, allocations: 4 kB / 366.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1111, allocations: 0 / 366.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1111, allocations: 144 / 366.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.112, allocations: 0.7174 MB / 367 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.112, allocations: 0 / 367 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1122, allocations: 35.98 kB / 367 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.992e-05/0.1123, allocations: 32.81 kB / 367 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1123, allocations: 3.938 kB / 367 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009285/0.1132, allocations: 1.43 MB / 368.5 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1132, allocations: 4.031 kB / 368.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.1137, allocations: 364.6 kB / 368.8 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1138, allocations: 104.6 kB / 368.9 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1138, allocations: 8 kB / 368.9 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.114, allocations: 4 kB / 368.9 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.114, allocations: 23.89 kB / 369 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.114, allocations: 8 kB / 369 MB, free: 304 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1142, allocations: 239.2 kB / 369.2 MB, free: 68 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1142, allocations: 0 / 369.2 MB, free: 68 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1411/0.2553, allocations: 69.02 kB / 369.3 MB, free: 25.46 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.0001311/0.2555, allocations: 97.14 kB / 369.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.2561, allocations: 313.9 kB / 369.7 MB, free: 25.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2561, allocations: 0 / 369.7 MB, free: 25.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.2563, allocations: 187 kB / 369.8 MB, free: 25.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.2567, allocations: 38.25 kB / 369.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.258, allocations: 1.018 MB / 370.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2583, allocations: 0.8161 MB / 371.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2584, allocations: 38.56 kB / 371.8 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.2585, allocations: 28.77 kB / 371.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2585, allocations: 0.5 kB / 371.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of Templates: time 0.006517/0.265, allocations: 2.667 MB / 374.5 MB, free: 23.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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