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.001294/0.001294, allocations: 110.6 kB / 18.4 MB, free: 4.688 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.001262/0.001262, allocations: 190.1 kB / 19.34 MB, free: 3.766 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.266/1.266, 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.001149/0.001149, allocations: 55.92 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07163/0.07279, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003657/0.07647, allocations: 3.057 MB / 378.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.07803, allocations: 1.014 MB / 379.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.07826, allocations: 11.94 kB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.07851, allocations: 95.05 kB / 380 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.07872, allocations: 95.02 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.0792, allocations: 219.6 kB / 380.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1478/0.227, allocations: 0.5318 MB / 380.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.2274, allocations: 228 kB / 381 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.2277, allocations: 174.5 kB / 381.2 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2279, allocations: 177.9 kB / 381.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.228, allocations: 41.88 kB / 381.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.2282, allocations: 54.11 kB / 381.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.2282, allocations: 93.12 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2284, allocations: 222 kB / 381.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.229, allocations: 0.5818 MB / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2291, allocations: 0.75 kB / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2291, allocations: 0 / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.2291, allocations: 0 / 382.4 MB, free: 9.508 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.001005/0.2301, allocations: 0.74 MB / 383.1 MB, free: 9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2301, allocations: 12.92 kB / 383.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2303, allocations: 57.22 kB / 383.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006465/0.2309, allocations: 425.1 kB / 383.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.231, allocations: 32.5 kB / 383.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.2311, allocations: 38.7 kB / 383.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.2318, allocations: 487.6 kB / 384.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2318, allocations: 15.66 kB / 384.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2318, allocations: 18.53 kB / 384.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2318, allocations: 10.97 kB / 384.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.2323, allocations: 242 kB / 384.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2341, allocations: 2.817 MB / 387.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2345, allocations: 164.5 kB / 387.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2347, allocations: 69.34 kB / 387.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.2348, allocations: 82.89 kB / 387.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.2348, allocations: 39.92 kB / 387.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.2348, allocations: 0 / 387.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00112/0.2359, allocations: 0.623 MB / 388.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/0.2359, allocations: 55.38 kB / 388.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.2363, allocations: 340.7 kB / 388.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2363, allocations: 31.45 kB / 388.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2364, allocations: 297.7 kB / 388.9 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.2365, allocations: 74.09 kB / 389 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.2365, allocations: 65.52 kB / 389 MB, free: 4.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.2366, allocations: 351 kB / 389.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2367, allocations: 63.47 kB / 389.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2369, allocations: 215.3 kB / 389.7 MB, free: 4.418 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.0008065/0.2377, allocations: 0.5244 MB / 390.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2378, allocations: 1.188 kB / 390.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005222/0.2383, allocations: 356.8 kB / 390.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2383, allocations: 11.42 kB / 390.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2383, allocations: 9.719 kB / 390.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.2385, allocations: 37.36 kB / 390.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2387, allocations: 75.91 kB / 390.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009099/0.2396, allocations: 1.634 MB / 392.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2398, allocations: 11.31 kB / 392.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.2398, allocations: 18.52 kB / 392.3 MB, free: 2.254 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.0001513/0.24, allocations: 170.6 kB / 392.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.2401, allocations: 35.56 kB / 392.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.636e-05/0.2401, allocations: 41.06 kB / 392.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2401, allocations: 1.266 kB / 392.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2401, allocations: 5 kB / 392.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2402, allocations: 105 kB / 392.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.2402, allocations: 5.906 kB / 392.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2404, allocations: 2.875 kB / 392.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2404, allocations: 19.48 kB / 392.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004774/0.2409, allocations: 283.5 kB / 393 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003979/0.2413, allocations: 420.6 kB / 393.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.2414, allocations: 61.23 kB / 393.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.2416, allocations: 236.5 kB / 393.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of Backend: time 3.9e-07/0.2416, allocations: 0 / 393.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.2423, allocations: 349 kB / 394 MB, free: 1.109 MB / 318.1 MB Notification: Performance of SimCode: time 0.001155/0.2435, allocations: 1.298 MB / 395.3 MB, free: 108 kB / 318.1 MB Notification: Performance of Templates: time 0.007283/0.2508, allocations: 2.924 MB / 398.3 MB, free: 15.78 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