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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001005/0.001005, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.91 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2111, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003708/0.2148, allocations: 3.062 MB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2162, allocations: 0.9669 MB / 405.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2164, allocations: 15.94 kB / 405.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.2166, allocations: 95.05 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.2168, allocations: 91.02 kB / 405.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.2172, allocations: 215.6 kB / 405.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.2177, allocations: 0.5488 MB / 406.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.218, allocations: 226.7 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.2182, allocations: 175.2 kB / 406.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2184, allocations: 182.9 kB / 406.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.2185, allocations: 36 kB / 407 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2186, allocations: 51.98 kB / 407 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.2187, allocations: 83.64 kB / 407.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2189, allocations: 226.7 kB / 407.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.2194, allocations: 0.581 MB / 407.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2194, allocations: 4 kB / 407.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.2194, allocations: 0 / 407.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2194, allocations: 3.938 kB / 407.9 MB, free: 2.312 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.0008762/0.2203, allocations: 0.7328 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2203, allocations: 11.89 kB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.2204, allocations: 60.03 kB / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.2209, allocations: 422.3 kB / 409.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.221, allocations: 29 kB / 409.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.221, allocations: 47.91 kB / 409.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.2217, allocations: 491.4 kB / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2218, allocations: 0 / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2218, allocations: 20 kB / 409.7 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2218, allocations: 8 kB / 409.7 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.2223, allocations: 254.1 kB / 410 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.2243, allocations: 2.819 MB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.2247, allocations: 158.6 kB / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2248, allocations: 72.88 kB / 413 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.2249, allocations: 89.09 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2249, allocations: 34.5 kB / 413.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.225, allocations: 3.938 kB / 413.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001182/0.2261, allocations: 0.6179 MB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2262, allocations: 67.25 kB / 413.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.2265, allocations: 341.7 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2265, allocations: 25.7 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.2267, allocations: 302.9 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.2267, allocations: 67.09 kB / 414.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-05/0.2268, allocations: 69.59 kB / 414.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.227, allocations: 350.7 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2271, allocations: 63.97 kB / 415 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2273, allocations: 219.5 kB / 415.2 MB, free: 10.47 MB / 334.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.0008873/0.2282, allocations: 0.5081 MB / 415.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2282, allocations: 7.938 kB / 415.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005451/0.2288, allocations: 357.4 kB / 416.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2288, allocations: 8.688 kB / 416.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2288, allocations: 7.938 kB / 416.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.229, allocations: 44.84 kB / 416.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2292, allocations: 67.91 kB / 416.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.2304, allocations: 1.639 MB / 417.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2305, allocations: 12 kB / 417.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2306, allocations: 16 kB / 417.9 MB, free: 7.574 MB / 334.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.0001788/0.2308, allocations: 169.7 kB / 418.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.2308, allocations: 35.56 kB / 418.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.2309, allocations: 39.66 kB / 418.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2309, allocations: 4.141 kB / 418.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2309, allocations: 0 / 418.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.231, allocations: 112.6 kB / 418.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.231, allocations: 7.938 kB / 418.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2312, allocations: 4 kB / 418.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.2312, allocations: 7.984 kB / 418.3 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005434/0.2318, allocations: 293.5 kB / 418.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000448/0.2322, allocations: 416.6 kB / 419 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001146/0.2323, allocations: 59.95 kB / 419 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.2326, allocations: 231.2 kB / 419.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.2326, allocations: 4 kB / 419.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007298/0.2333, allocations: 353.2 kB / 419.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of SimCode: time 0.001297/0.2346, allocations: 1.306 MB / 420.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of Templates: time 0.006522/0.2411, allocations: 2.835 MB / 423.7 MB, free: 1.621 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches