Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001278/0.001278, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001214/0.001214, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 47.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004398/0.1116, allocations: 3.054 MB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1135, allocations: 1.01 MB / 379.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.1139, allocations: 7.938 kB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1142, allocations: 95.05 kB / 379.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1145, allocations: 99 kB / 379.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1152, allocations: 223.6 kB / 379.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2474/0.3626, allocations: 0.5382 MB / 380.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.3633, allocations: 222.5 kB / 380.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.3639, allocations: 178.3 kB / 380.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.3642, allocations: 176.5 kB / 380.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.3643, allocations: 40.34 kB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.3646, allocations: 52.56 kB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3647, allocations: 86.64 kB / 380.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.365, allocations: 224.6 kB / 381.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.3662, allocations: 0.5909 MB / 381.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3662, allocations: 0.5 kB / 381.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3662, allocations: 1.234 kB / 381.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3663, allocations: 0 / 381.7 MB, free: 9.488 MB / 318.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.001707/0.368, allocations: 0.7334 MB / 382.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.3681, allocations: 13.48 kB / 382.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.3683, allocations: 56.34 kB / 382.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3695, allocations: 430.1 kB / 382.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.3695, allocations: 32.47 kB / 382.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3697, allocations: 39 kB / 383 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.371, allocations: 492.6 kB / 383.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.371, allocations: 6.094 kB / 383.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.3711, allocations: 21.64 kB / 383.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.3711, allocations: 11.72 kB / 383.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.372, allocations: 243.6 kB / 383.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.3753, allocations: 2.811 MB / 386.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.3761, allocations: 161.8 kB / 386.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3764, allocations: 70.27 kB / 386.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.3765, allocations: 83.58 kB / 386.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3766, allocations: 36.61 kB / 386.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.677e-06/0.3766, allocations: 1.453 kB / 386.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002113/0.3787, allocations: 0.6227 MB / 387.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3788, allocations: 54.52 kB / 387.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.3794, allocations: 341.8 kB / 387.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3795, allocations: 30.92 kB / 387.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.3797, allocations: 301.6 kB / 388.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.3798, allocations: 70.77 kB / 388.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3799, allocations: 70.89 kB / 388.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3801, allocations: 346.2 kB / 388.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.3803, allocations: 64.28 kB / 388.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.3806, allocations: 214.2 kB / 389 MB, free: 4.395 MB / 318.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.001637/0.3823, allocations: 0.5228 MB / 389.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.3823, allocations: 5.406 kB / 389.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001262/0.3836, allocations: 353 kB / 389.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.3837, allocations: 15.67 kB / 389.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.3837, allocations: 6.031 kB / 389.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.384, allocations: 39.41 kB / 389.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.3845, allocations: 73.06 kB / 390 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.3861, allocations: 1.644 MB / 391.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3864, allocations: 11.67 kB / 391.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.3865, allocations: 22.81 kB / 391.7 MB, free: 2.223 MB / 318.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.0003394/0.3869, allocations: 163 kB / 391.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.387, allocations: 35.3 kB / 391.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3871, allocations: 38.17 kB / 391.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3871, allocations: 7.906 kB / 391.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.3871, allocations: 2.047 kB / 391.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3872, allocations: 1.969 kB / 391.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.3887, allocations: 0.7165 MB / 392.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3887, allocations: 0 / 392.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.389, allocations: 32.66 kB / 392.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.3892, allocations: 27.44 kB / 392.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3892, allocations: 2.344 kB / 392.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.3903, allocations: 1.437 MB / 394.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3904, allocations: 0.6562 kB / 394.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.3913, allocations: 367.4 kB / 394.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3915, allocations: 106.5 kB / 394.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.3915, allocations: 5.938 kB / 394.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3917, allocations: 3.938 kB / 394.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.3918, allocations: 18.02 kB / 394.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3919, allocations: 3.625 kB / 394.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.3924, allocations: 241 kB / 394.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3924, allocations: 0 / 394.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009195/0.3933, allocations: 67.22 kB / 394.9 MB, free: 15.56 MB / 334.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.0002022/0.3935, allocations: 96.75 kB / 395 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3947, allocations: 315.1 kB / 395.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3947, allocations: 0 / 395.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.3951, allocations: 187.8 kB / 395.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.3958, allocations: 43.02 kB / 395.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.3987, allocations: 0.8414 MB / 396.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.3995, allocations: 0.8127 MB / 397.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.3997, allocations: 39.97 kB / 397.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3999, allocations: 34.17 kB / 397.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3999, allocations: 0 / 397.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01514/0.4151, allocations: 2.773 MB / 400 MB, free: 13.59 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches