Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009437/0.0009438, allocations: 178.7 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 225.7 MB / 243.2 MB, free: 8.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007709/0.0007711, allocations: 97.69 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002104/0.0002104, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.185, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002038/0.1871, allocations: 2.587 MB / 407.2 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1882, allocations: 1.283 MB / 408.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1883, allocations: 16.44 kB / 408.5 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1885, allocations: 71.42 kB / 408.5 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1886, allocations: 80.91 kB / 408.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1889, allocations: 188.9 kB / 408.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.1893, allocations: 0.5145 MB / 409.3 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.1895, allocations: 199.3 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1896, allocations: 135.3 kB / 409.6 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1898, allocations: 151.7 kB / 409.8 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.1898, allocations: 16 kB / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.1899, allocations: 29.16 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.1899, allocations: 55.66 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1901, allocations: 228.3 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1904, allocations: 0.493 MB / 410.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1904, allocations: 0 / 410.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1904, allocations: 4 kB / 410.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1904, allocations: 0.5625 kB / 410.6 MB, free: 25.17 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.00062/0.191, allocations: 0.6511 MB / 411.2 MB, free: 24.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.191, allocations: 15.97 kB / 411.3 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.1911, allocations: 63.94 kB / 411.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1915, allocations: 398.3 kB / 411.7 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1915, allocations: 33 kB / 411.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1915, allocations: 40 kB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.1921, allocations: 487.4 kB / 412.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1921, allocations: 0 / 412.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1922, allocations: 27.98 kB / 412.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1922, allocations: 12 kB / 412.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1926, allocations: 250.1 kB / 412.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1939, allocations: 2.827 MB / 415.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1942, allocations: 166.6 kB / 415.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1944, allocations: 72.88 kB / 415.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1945, allocations: 81.11 kB / 415.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.093e-05/0.1945, allocations: 38.44 kB / 415.7 MB, free: 19.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.1945, allocations: 4 kB / 415.7 MB, free: 19.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009712/0.1955, allocations: 0.6322 MB / 416.4 MB, free: 19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.501e-05/0.1955, allocations: 55.41 kB / 416.4 MB, free: 18.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1957, allocations: 341.6 kB / 416.7 MB, free: 18.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.1957, allocations: 25.7 kB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1959, allocations: 311 kB / 417.1 MB, free: 18.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1959, allocations: 59.11 kB / 417.1 MB, free: 18.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.1959, allocations: 8 kB / 417.1 MB, free: 18.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.196, allocations: 346.7 kB / 417.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1961, allocations: 71.97 kB / 417.5 MB, free: 17.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1962, allocations: 219.6 kB / 417.8 MB, free: 17.48 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.0007071/0.197, allocations: 0.5179 MB / 418.3 MB, free: 16.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.197, allocations: 4 kB / 418.3 MB, free: 16.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004421/0.1974, allocations: 367.2 kB / 418.6 MB, free: 16.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1974, allocations: 8 kB / 418.6 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1975, allocations: 4 kB / 418.7 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.1976, allocations: 40.83 kB / 418.7 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1978, allocations: 71.91 kB / 418.8 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/0.1985, allocations: 1.463 MB / 420.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1987, allocations: 27.86 kB / 420.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1987, allocations: 16 kB / 420.3 MB, free: 14.73 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 sytem: 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.0001436/0.1989, allocations: 179.5 kB / 420.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.1989, allocations: 39.52 kB / 420.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.199, allocations: 43.53 kB / 420.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.199, allocations: 0 / 420.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.199, allocations: 4 kB / 420.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.199, allocations: 0 / 420.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.1997, allocations: 0.718 MB / 421.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1997, allocations: 0 / 421.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1999, allocations: 35.92 kB / 421.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.214e-05/0.1999, allocations: 28.98 kB / 421.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2, allocations: 4 kB / 421.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000533/0.2005, allocations: 1.335 MB / 422.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2005, allocations: 0 / 422.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.2009, allocations: 364.3 kB / 423 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.201, allocations: 112.7 kB / 423.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.201, allocations: 4 kB / 423.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2011, allocations: 15.84 kB / 423.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2012, allocations: 23.86 kB / 423.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2012, allocations: 7.984 kB / 423.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2013, allocations: 231.2 kB / 423.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2013, allocations: 0 / 423.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.2017, allocations: 64 kB / 423.5 MB, free: 11.29 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 6.96e-05/0.2018, allocations: 107.2 kB / 423.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.2022, allocations: 311.8 kB / 423.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2022, allocations: 0 / 423.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2024, allocations: 186.7 kB / 424 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2027, allocations: 41.8 kB / 424.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2037, allocations: 1.106 MB / 425.2 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.2039, allocations: 0.8148 MB / 426 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.204, allocations: 39.27 kB / 426 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.2041, allocations: 31.42 kB / 426.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2041, allocations: 0 / 426.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of Templates: time 0.004944/0.209, allocations: 2.535 MB / 428.6 MB, free: 6.047 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/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