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.001423/0.001423, allocations: 101.4 kB / 18.39 MB, free: 4.664 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.001125/0.001125, allocations: 189.1 kB / 19.33 MB, free: 3.738 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.41/1.41, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001563/0.001563, allocations: 52.3 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005555/0.109, allocations: 3.055 MB / 378.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1115, allocations: 1.014 MB / 379.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.1121, allocations: 7.938 kB / 379.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1126, allocations: 99.05 kB / 380 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.113, allocations: 95.02 kB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.1138, allocations: 219.6 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2649/0.3787, allocations: 0.5342 MB / 380.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.3793, allocations: 219.2 kB / 381 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.3797, allocations: 177.5 kB / 381.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3799, allocations: 176.5 kB / 381.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.38, allocations: 40.94 kB / 381.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3802, allocations: 50.81 kB / 381.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.3803, allocations: 91.28 kB / 381.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.3805, allocations: 223.3 kB / 381.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.3814, allocations: 0.5825 MB / 382.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3815, allocations: 0.5625 kB / 382.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3815, allocations: 0 / 382.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.3815, allocations: 0.5 kB / 382.3 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.00118/0.3827, allocations: 0.7389 MB / 383.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.3828, allocations: 17.33 kB / 383.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3829, allocations: 56.59 kB / 383.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.3838, allocations: 426.2 kB / 383.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.3838, allocations: 33.45 kB / 383.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.3839, allocations: 39.09 kB / 383.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.3848, allocations: 490.1 kB / 384.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.3849, allocations: 9.172 kB / 384.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.3849, allocations: 17 kB / 384.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.385, allocations: 11.59 kB / 384.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.3855, allocations: 246.6 kB / 384.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.3876, allocations: 2.816 MB / 387.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.3881, allocations: 168.5 kB / 387.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3883, allocations: 71.91 kB / 387.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.3885, allocations: 87.02 kB / 387.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3885, allocations: 32.39 kB / 387.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.3885, allocations: 0 / 387.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001324/0.3899, allocations: 0.6245 MB / 388.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3899, allocations: 53.75 kB / 388.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.3903, allocations: 340.9 kB / 388.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3903, allocations: 31.48 kB / 388.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3905, allocations: 304 kB / 388.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.3906, allocations: 70.91 kB / 389 MB, free: 5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3907, allocations: 70.88 kB / 389 MB, free: 4.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3908, allocations: 346.5 kB / 389.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.391, allocations: 64.09 kB / 389.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3912, allocations: 213.6 kB / 389.7 MB, free: 4.391 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.001049/0.3923, allocations: 0.5334 MB / 390.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3923, allocations: 1.219 kB / 390.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006939/0.393, allocations: 352.7 kB / 390.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.393, allocations: 13.88 kB / 390.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.393, allocations: 6.688 kB / 390.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.3932, allocations: 33.22 kB / 390.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3935, allocations: 76.73 kB / 390.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3947, allocations: 1.639 MB / 392.3 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3949, allocations: 15.97 kB / 392.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.395, allocations: 13.88 kB / 392.3 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.0002499/0.3952, allocations: 175.5 kB / 392.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.3953, allocations: 31.09 kB / 392.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.3954, allocations: 34.78 kB / 392.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3954, allocations: 6.344 kB / 392.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3954, allocations: 0.9062 kB / 392.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3954, allocations: 1.359 kB / 392.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3966, allocations: 0.7193 MB / 393.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3966, allocations: 1.125 kB / 393.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3968, allocations: 35.58 kB / 393.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-05/0.3969, allocations: 27.33 kB / 393.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3969, allocations: 5.953 kB / 393.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007977/0.3977, allocations: 1.428 MB / 394.8 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3977, allocations: 0 / 394.8 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.3984, allocations: 362.6 kB / 395.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3985, allocations: 110.3 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3985, allocations: 3.828 kB / 395.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3986, allocations: 6.375 kB / 395.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.3987, allocations: 14 kB / 395.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3987, allocations: 3.141 kB / 395.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.3991, allocations: 241.2 kB / 395.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3991, allocations: 0 / 395.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.3996, allocations: 67.64 kB / 395.6 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.0001389/0.3997, allocations: 98.19 kB / 395.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.4004, allocations: 322 kB / 396 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4004, allocations: 0 / 396 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.4007, allocations: 181.8 kB / 396.2 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.0003779/0.4011, allocations: 51.16 kB / 396.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4028, allocations: 0.8657 MB / 397.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4033, allocations: 0.8128 MB / 397.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4034, allocations: 36.75 kB / 397.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4034, allocations: 0 / 397.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Templates: time 0.0143/0.4177, allocations: 6.444 MB / 404.4 MB, free: 12.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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