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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009234, allocations: 99.72 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007632/0.0007634, allocations: 35.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2172, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00317/0.2205, allocations: 3.084 MB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2216, allocations: 0.9367 MB / 403.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2218, allocations: 15.94 kB / 403.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.222, allocations: 71.42 kB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2221, allocations: 83.25 kB / 403.7 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.2225, allocations: 183.8 kB / 403.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.2228, allocations: 0.5213 MB / 404.4 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.2231, allocations: 206.2 kB / 404.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2232, allocations: 159.2 kB / 404.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2233, allocations: 171 kB / 404.9 MB, free: 27.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.2234, allocations: 20 kB / 404.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.2235, allocations: 35.98 kB / 404.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.2235, allocations: 71.64 kB / 405 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2236, allocations: 214.7 kB / 405.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.224, allocations: 0.5074 MB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.224, allocations: 4 kB / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.224, allocations: 0 / 405.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.224, allocations: 0 / 405.7 MB, free: 27.1 MB / 298.7 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.0007497/0.2247, allocations: 0.7367 MB / 406.5 MB, free: 26.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2248, allocations: 8.031 kB / 406.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.2248, allocations: 63.94 kB / 406.5 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.2252, allocations: 406.3 kB / 406.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2252, allocations: 33 kB / 407 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.2253, allocations: 40 kB / 407 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.2258, allocations: 487.4 kB / 407.5 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2259, allocations: 3.938 kB / 407.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.2259, allocations: 20 kB / 407.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2259, allocations: 12 kB / 407.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.2263, allocations: 254.1 kB / 407.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.2277, allocations: 2.827 MB / 410.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.228, allocations: 158.7 kB / 410.7 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2281, allocations: 76.83 kB / 410.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.2283, allocations: 81.11 kB / 410.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2283, allocations: 42.44 kB / 410.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2283, allocations: 0 / 410.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001014/0.2293, allocations: 0.6301 MB / 411.6 MB, free: 20.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.2294, allocations: 55.41 kB / 411.6 MB, free: 20.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.2296, allocations: 341.6 kB / 412 MB, free: 20.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2296, allocations: 29.7 kB / 412 MB, free: 20.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2297, allocations: 291 kB / 412.3 MB, free: 20.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.2298, allocations: 71.09 kB / 412.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.2299, allocations: 65.61 kB / 412.4 MB, free: 19.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.2299, allocations: 350.7 kB / 412.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.23, allocations: 71.91 kB / 412.8 MB, free: 19.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2302, allocations: 213.9 kB / 413 MB, free: 19.27 MB / 298.7 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.0007021/0.2309, allocations: 0.5107 MB / 413.5 MB, free: 18.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2309, allocations: 0 / 413.5 MB, free: 18.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004294/0.2314, allocations: 354 kB / 413.9 MB, free: 18.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2314, allocations: 16.02 kB / 413.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2314, allocations: 4 kB / 413.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.2315, allocations: 48.72 kB / 413.9 MB, free: 18.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2317, allocations: 75.91 kB / 414 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008012/0.2325, allocations: 1.463 MB / 415.5 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2327, allocations: 27.86 kB / 415.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2328, allocations: 16 kB / 415.5 MB, free: 16.54 MB / 298.7 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.0001442/0.2329, allocations: 170.4 kB / 415.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.233, allocations: 35.53 kB / 415.7 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.233, allocations: 47.52 kB / 415.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.233, allocations: 0 / 415.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2331, allocations: 4 kB / 415.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2331, allocations: 0 / 415.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.2338, allocations: 0.714 MB / 416.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2338, allocations: 0 / 416.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2339, allocations: 39.92 kB / 416.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-05/0.234, allocations: 24.84 kB / 416.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.234, allocations: 0 / 416.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.2346, allocations: 1.339 MB / 417.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2346, allocations: 0 / 417.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.2372, allocations: 3.39 MB / 421.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2372, allocations: 104.8 kB / 421.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2373, allocations: 8 kB / 421.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2374, allocations: 4 kB / 421.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2374, allocations: 19.97 kB / 421.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2375, allocations: 0 / 421.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2376, allocations: 239.2 kB / 421.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2376, allocations: 4.062 kB / 421.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004908/0.2381, allocations: 96 kB / 421.8 MB, free: 9.789 MB / 298.7 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 8.11e-05/0.2382, allocations: 103.2 kB / 421.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2386, allocations: 315.5 kB / 422.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2387, allocations: 0 / 422.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2388, allocations: 178.6 kB / 422.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2392, allocations: 45.48 kB / 422.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2404, allocations: 1.315 MB / 423.7 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.2406, allocations: 0.8233 MB / 424.5 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.2408, allocations: 43.25 kB / 424.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.2408, allocations: 35.42 kB / 424.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.2408, allocations: 3.938 kB / 424.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Templates: time 0.005913/0.2468, allocations: 3.084 MB / 427.7 MB, free: 3.77 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches