Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 109.2 kB / 16.92 MB, free: 5.762 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.002189/0.002189, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.649/1.649, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 52.55 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1629, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006097/0.1691, allocations: 3.141 MB / 353.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1711, allocations: 0.7807 MB / 354.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.1716, allocations: 7.938 kB / 354.1 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1719, allocations: 67.36 kB / 354.2 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.1725, allocations: 114.9 kB / 354.3 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.1733, allocations: 147.7 kB / 354.4 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009651/0.1742, allocations: 0.5386 MB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.1747, allocations: 180.3 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1752, allocations: 211.3 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.1757, allocations: 259 kB / 355.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1759, allocations: 48 kB / 355.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1761, allocations: 59.98 kB / 355.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1762, allocations: 111.6 kB / 355.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.1766, allocations: 238.9 kB / 356 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008105/0.1774, allocations: 0.5453 MB / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.1774, allocations: 0 / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1774, allocations: 7.875 kB / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.1775, allocations: 0 / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001937/0.1794, allocations: 0.7992 MB / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1795, allocations: 8.031 kB / 357.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.403e-05/0.1796, allocations: 74.72 kB / 357.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.1797, allocations: 44.47 kB / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1801, allocations: 310.4 kB / 357.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.1802, allocations: 33.38 kB / 357.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.1803, allocations: 36.38 kB / 357.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1814, allocations: 0.5085 MB / 358.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1814, allocations: 0 / 358.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.1815, allocations: 19.94 kB / 358.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1815, allocations: 12 kB / 358.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1828, allocations: 0.4996 MB / 358.9 MB, free: 11.41 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1857, allocations: 1.67 MB / 360.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1869, allocations: 423.7 kB / 361 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.1874, allocations: 245.3 kB / 361.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.1875, allocations: 12.31 kB / 361.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1875, allocations: 34.89 kB / 361.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.885e-06/0.1875, allocations: 0 / 361.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005096/0.1926, allocations: 1.368 MB / 362.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.1928, allocations: 170.2 kB / 362.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1932, allocations: 263 kB / 363.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.1932, allocations: 37.64 kB / 363.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1935, allocations: 208.3 kB / 363.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.1936, allocations: 134 kB / 363.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1938, allocations: 78.12 kB / 363.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.194, allocations: 346.8 kB / 363.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.1946, allocations: 180.7 kB / 364 MB, free: 6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.1952, allocations: 278.5 kB / 364.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1963, allocations: 430.5 kB / 364.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1963, allocations: 4 kB / 364.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001856/0.1982, allocations: 0.678 MB / 365.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1982, allocations: 4 kB / 365.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1982, allocations: 0 / 365.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.1996, allocations: 325.4 kB / 365.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.1999, allocations: 79.88 kB / 365.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.2016, allocations: 1.35 MB / 367.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.2021, allocations: 83.59 kB / 367.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2022, allocations: 16 kB / 367.3 MB, free: 2.645 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.2024, allocations: 149.8 kB / 367.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.2025, allocations: 35.62 kB / 367.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.2046, allocations: 0.7353 MB / 368.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.2047, allocations: 4 kB / 368.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2047, allocations: 0 / 368.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2047, allocations: 0 / 368.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.2053, allocations: 472.9 kB / 368.6 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2053, allocations: 0 / 368.6 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2056, allocations: 59.95 kB / 368.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.2068, allocations: 321.3 kB / 369 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.2068, allocations: 12 kB / 369 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2582/0.465, allocations: 1.352 MB / 370.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.4651, allocations: 1.688 kB / 370.4 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.4682, allocations: 1.015 MB / 371.4 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4684, allocations: 111.8 kB / 371.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.4685, allocations: 16.52 kB / 371.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4689, allocations: 42.97 kB / 371.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.469, allocations: 28.12 kB / 371.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.469, allocations: 10.23 kB / 371.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.4693, allocations: 192.7 kB / 371.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4693, allocations: 0 / 371.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.4697, allocations: 115.6 kB / 371.9 MB, free: 25.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/0.4726, allocations: 1.577 MB / 373.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4741, allocations: 482.7 kB / 374 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4741, allocations: 0 / 374 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.4749, allocations: 263.1 kB / 374.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.4755, allocations: 39.5 kB / 374.3 MB, free: 24.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/0.4834, allocations: 4.072 MB / 378.3 MB, free: 22.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.4839, allocations: 0.8022 MB / 379.1 MB, free: 21.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.4841, allocations: 30.62 kB / 379.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4844, allocations: 119.8 kB / 379.3 MB, free: 21.38 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4844, allocations: 0 / 379.3 MB, free: 21.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.5205, allocations: 9.211 MB / 388.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.99, allocations: 8.375 kB / 388.5 MB, free: 18.25 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches