Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_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.001242/0.001243, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001337/0.001338, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 59.91 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1006, allocations: 46.62 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004945/0.1056, allocations: 3.101 MB / 330.5 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1073, allocations: 0.8122 MB / 331.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.1077, allocations: 15.94 kB / 331.3 MB, free: 428 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.108, allocations: 59.38 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1083, allocations: 110.9 kB / 331.5 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1088, allocations: 151.7 kB / 331.6 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.1095, allocations: 0.5307 MB / 332.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.1099, allocations: 172.3 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.1103, allocations: 223.2 kB / 332.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1107, allocations: 251 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1109, allocations: 52 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.111, allocations: 56 kB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1112, allocations: 119.6 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.1114, allocations: 230.9 kB / 333.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.112, allocations: 0.5453 MB / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.112, allocations: 0 / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.112, allocations: 0 / 333.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.112, allocations: 0 / 333.8 MB, free: 13.93 MB / 286.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.001797/0.1138, allocations: 0.7876 MB / 334.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1139, allocations: 8.031 kB / 334.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.992e-05/0.114, allocations: 78.72 kB / 334.6 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1141, allocations: 48.38 kB / 334.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.1146, allocations: 298.5 kB / 335 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.1147, allocations: 33.38 kB / 335 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.1147, allocations: 40.31 kB / 335.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1158, allocations: 0.5007 MB / 335.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1158, allocations: 0 / 335.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.1159, allocations: 16 kB / 335.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1159, allocations: 12 kB / 335.6 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.1172, allocations: 0.4957 MB / 336.1 MB, free: 11.5 MB / 286.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.002794/0.12, allocations: 1.686 MB / 337.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1212, allocations: 419.7 kB / 338.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.1218, allocations: 245.3 kB / 338.4 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.1218, allocations: 16.28 kB / 338.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1219, allocations: 38.89 kB / 338.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.464e-06/0.1219, allocations: 0 / 338.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004964/0.1268, allocations: 1.368 MB / 339.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.127, allocations: 158.2 kB / 340 MB, free: 7.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.1273, allocations: 263 kB / 340.3 MB, free: 7.078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1274, allocations: 29.7 kB / 340.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1275, allocations: 208.3 kB / 340.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1276, allocations: 138 kB / 340.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1278, allocations: 78.12 kB / 340.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1279, allocations: 342.8 kB / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.1284, allocations: 188.7 kB / 341.2 MB, free: 6.086 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.129, allocations: 278.5 kB / 341.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.13, allocations: 422.5 kB / 341.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1301, allocations: 0 / 341.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001869/0.1319, allocations: 0.6819 MB / 342.6 MB, free: 4.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.132, allocations: 8 kB / 342.6 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.132, allocations: 0 / 342.6 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.1334, allocations: 329.4 kB / 342.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.1338, allocations: 75.88 kB / 343 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1352, allocations: 1.354 MB / 344.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.1357, allocations: 79.72 kB / 344.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.1358, allocations: 12 kB / 344.4 MB, free: 2.742 MB / 286.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.0003459/0.1362, allocations: 157.8 kB / 344.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1363, allocations: 31.62 kB / 344.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.1386, allocations: 0.7355 MB / 345.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1386, allocations: 4 kB / 345.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1386, allocations: 0 / 345.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1386, allocations: 3.984 kB / 345.4 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.1394, allocations: 461 kB / 345.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1394, allocations: 0 / 345.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1397, allocations: 60.08 kB / 345.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.141, allocations: 325.3 kB / 346.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.141, allocations: 11.94 kB / 346.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.1424, allocations: 1.358 MB / 347.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1424, allocations: 0 / 347.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.1451, allocations: 1.027 MB / 348.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1452, allocations: 116.6 kB / 348.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.1453, allocations: 8 kB / 348.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.1457, allocations: 39.95 kB / 348.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.1458, allocations: 32.02 kB / 348.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.1458, allocations: 12 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.1461, allocations: 186 kB / 349 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1461, allocations: 0 / 349 MB, free: 14.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.1466, allocations: 115.7 kB / 349.1 MB, free: 13.91 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.00308/0.1497, allocations: 1.564 MB / 350.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.1511, allocations: 484.2 kB / 351.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1512, allocations: 0 / 351.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.1518, allocations: 263.8 kB / 351.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.1524, allocations: 44.55 kB / 351.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.1603, allocations: 4.06 MB / 355.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1607, allocations: 0.7956 MB / 356.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1609, allocations: 30.97 kB / 356.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1611, allocations: 123.4 kB / 356.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1611, allocations: 3.938 kB / 356.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.1963, allocations: 9.135 MB / 365.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.79, allocations: 11.95 kB / 365.6 MB, free: 13.15 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.002 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches