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.001199/0.001199, allocations: 111.9 kB / 18.37 MB, free: 4.695 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.001137/0.001137, allocations: 184.5 kB / 19.3 MB, free: 3.773 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.413/1.413, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001281/0.001281, allocations: 55.92 kB / 329.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 46.62 MB / 375.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004242/0.1083, allocations: 3.051 MB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1102, allocations: 1.018 MB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1105, allocations: 11.94 kB / 379.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1108, allocations: 91.05 kB / 379.9 MB, free: 432 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.111, allocations: 95.02 kB / 380 MB, free: 336 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.1115, allocations: 219.6 kB / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2343/0.3458, allocations: 0.5341 MB / 380.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.3463, allocations: 220.7 kB / 381 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3466, allocations: 182.4 kB / 381.2 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.3469, allocations: 175.6 kB / 381.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.3469, allocations: 37.31 kB / 381.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3471, allocations: 54.09 kB / 381.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.3471, allocations: 88.95 kB / 381.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3473, allocations: 223.5 kB / 381.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.348, allocations: 0.5754 MB / 382.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.348, allocations: 0.75 kB / 382.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.348, allocations: 0 / 382.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.348, allocations: 1.031 kB / 382.3 MB, free: 9.496 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.001036/0.3491, allocations: 0.7383 MB / 383 MB, free: 8.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3491, allocations: 13.48 kB / 383 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3492, allocations: 55.84 kB / 383.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.3499, allocations: 429.3 kB / 383.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.35, allocations: 27.97 kB / 383.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.3501, allocations: 40.75 kB / 383.6 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.3508, allocations: 489.7 kB / 384.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.3509, allocations: 6.781 kB / 384.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.3509, allocations: 22.75 kB / 384.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.3509, allocations: 12.16 kB / 384.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.3514, allocations: 247.9 kB / 384.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3533, allocations: 2.817 MB / 387.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.3538, allocations: 161.7 kB / 387.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.354, allocations: 73.81 kB / 387.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.3541, allocations: 83.22 kB / 387.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3541, allocations: 35.81 kB / 387.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.3542, allocations: 0 / 387.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001275/0.3554, allocations: 0.6237 MB / 388.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3555, allocations: 54.28 kB / 388.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3559, allocations: 341.2 kB / 388.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3559, allocations: 30.83 kB / 388.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.3561, allocations: 299 kB / 388.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.3561, allocations: 73.11 kB / 388.9 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.3562, allocations: 66.77 kB / 389 MB, free: 4.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.3563, allocations: 346.5 kB / 389.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3565, allocations: 68.03 kB / 389.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3567, allocations: 219.5 kB / 389.6 MB, free: 4.426 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.0009226/0.3576, allocations: 0.5166 MB / 390.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3577, allocations: 1.438 kB / 390.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000585/0.3582, allocations: 358.6 kB / 390.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.3583, allocations: 13.27 kB / 390.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3583, allocations: 4.531 kB / 390.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.3585, allocations: 42.28 kB / 390.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3587, allocations: 71.69 kB / 390.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3599, allocations: 1.64 MB / 392.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3601, allocations: 11.69 kB / 392.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3601, allocations: 18.38 kB / 392.3 MB, free: 2.262 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.0001768/0.3603, allocations: 166.9 kB / 392.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.3603, allocations: 36.45 kB / 392.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.3604, allocations: 41.53 kB / 392.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3604, allocations: 5.312 kB / 392.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3604, allocations: 1.984 kB / 392.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3604, allocations: 0.8438 kB / 392.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.3614, allocations: 0.7165 MB / 393.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3614, allocations: 1.5 kB / 393.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3616, allocations: 32.03 kB / 393.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.3617, allocations: 27.89 kB / 393.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3617, allocations: 2.672 kB / 393.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007321/0.3624, allocations: 1.432 MB / 394.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3625, allocations: 1.031 kB / 394.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.363, allocations: 372.4 kB / 395.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3631, allocations: 106.5 kB / 395.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.3632, allocations: 5.766 kB / 395.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3633, allocations: 3.953 kB / 395.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3633, allocations: 14.23 kB / 395.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3634, allocations: 4.062 kB / 395.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.3636, allocations: 236.9 kB / 395.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 0 / 395.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.3641, allocations: 70.81 kB / 395.5 MB, free: 15.6 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.0001162/0.3643, allocations: 99.12 kB / 395.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.3649, allocations: 314.1 kB / 395.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3649, allocations: 7.938 kB / 395.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.3651, allocations: 184.6 kB / 396.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3655, allocations: 46.42 kB / 396.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.367, allocations: 0.8682 MB / 397 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3675, allocations: 0.8169 MB / 397.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.3676, allocations: 30.91 kB / 397.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3676, allocations: 0 / 397.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Templates: time 0.01006/0.3776, allocations: 6.385 MB / 404.3 MB, free: 12.31 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