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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 55.91 kB / 365.7 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 52.13 MB / 417.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006771/0.1225, allocations: 3.155 MB / 420.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1249, allocations: 0.7923 MB / 421.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1252, allocations: 8 kB / 421.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1255, allocations: 63.36 kB / 421.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1259, allocations: 114.9 kB / 421.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.1265, allocations: 155.7 kB / 422.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008389/0.1274, allocations: 0.5424 MB / 422.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.1277, allocations: 128.3 kB / 422.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.1281, allocations: 219.3 kB / 423 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.1286, allocations: 255 kB / 423.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1287, allocations: 52 kB / 423.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1288, allocations: 60 kB / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.129, allocations: 115.6 kB / 423.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.1293, allocations: 230.9 kB / 423.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008939/0.1302, allocations: 0.5603 MB / 424.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1302, allocations: 4 kB / 424.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1302, allocations: 0 / 424.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1302, allocations: 0 / 424.2 MB, free: 6.215 MB / 350.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.002378/0.1326, allocations: 0.8066 MB / 425 MB, free: 5.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1326, allocations: 8.031 kB / 425 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.1327, allocations: 78.72 kB / 425.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1328, allocations: 48.66 kB / 425.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.1334, allocations: 314.6 kB / 425.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.1334, allocations: 33.31 kB / 425.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.1335, allocations: 36.38 kB / 425.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1347, allocations: 0.5007 MB / 426 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1347, allocations: 0 / 426 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.1348, allocations: 16 kB / 426 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.1348, allocations: 12 kB / 426.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1368, allocations: 0.5035 MB / 426.6 MB, free: 3.746 MB / 350.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.00344/0.1403, allocations: 1.659 MB / 428.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.1415, allocations: 406 kB / 428.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.142, allocations: 217.3 kB / 428.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.142, allocations: 20.25 kB / 428.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1421, allocations: 38.89 kB / 428.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1421, allocations: 0 / 428.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005227/0.1473, allocations: 1.361 MB / 430.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1474, allocations: 158.2 kB / 430.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.1479, allocations: 271 kB / 430.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.1479, allocations: 29.7 kB / 430.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1481, allocations: 220.7 kB / 430.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.1482, allocations: 138.8 kB / 431 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1484, allocations: 86.02 kB / 431.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1486, allocations: 346.8 kB / 431.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.1491, allocations: 180.8 kB / 431.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.1497, allocations: 282.5 kB / 431.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.1509, allocations: 430.5 kB / 432.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1509, allocations: 0 / 432.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002085/0.153, allocations: 0.6665 MB / 433 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.153, allocations: 8 kB / 433 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.153, allocations: 0 / 433 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.1544, allocations: 321.4 kB / 433.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1548, allocations: 79.88 kB / 433.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.1563, allocations: 1.354 MB / 434.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.1568, allocations: 75.75 kB / 434.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1568, allocations: 8 kB / 434.8 MB, free: 11.04 MB / 366.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.0002502/0.1571, allocations: 166.5 kB / 435 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.1572, allocations: 35.81 kB / 435 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.1595, allocations: 0.7276 MB / 435.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1595, allocations: 4 kB / 435.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1595, allocations: 0 / 435.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1595, allocations: 3.984 kB / 435.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.1602, allocations: 469 kB / 436.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1602, allocations: 8 kB / 436.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.1605, allocations: 63.83 kB / 436.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.1617, allocations: 321.4 kB / 436.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.1618, allocations: 8 kB / 436.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.1632, allocations: 1.358 MB / 438 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1632, allocations: 4.031 kB / 438 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.1659, allocations: 1.012 MB / 439 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.166, allocations: 116.8 kB / 439.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.1661, allocations: 8 kB / 439.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.1665, allocations: 44 kB / 439.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.1666, allocations: 23.97 kB / 439.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.1666, allocations: 12 kB / 439.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1669, allocations: 197.9 kB / 439.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1669, allocations: 0 / 439.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.1673, allocations: 119.7 kB / 439.5 MB, free: 6.203 MB / 366.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.003142/0.1705, allocations: 1.569 MB / 441.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.1718, allocations: 455.4 kB / 441.5 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1718, allocations: 0 / 441.5 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.1724, allocations: 244.5 kB / 441.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1729, allocations: 47.08 kB / 441.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.201/0.3739, allocations: 4.062 MB / 445.9 MB, free: 30.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3741, allocations: 0.7976 MB / 446.7 MB, free: 29.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.3743, allocations: 24.28 kB / 446.7 MB, free: 29.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3744, allocations: 125.4 kB / 446.8 MB, free: 29.87 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3744, allocations: 1.031 kB / 446.8 MB, free: 29.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.4168, allocations: 9.425 MB / 456.2 MB, free: 28.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.24, allocations: 5.625 kB / 456.2 MB, free: 28.84 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.09874650556594]