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.002084/0.002084, allocations: 97.98 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.002523/0.002523, allocations: 192 kB / 18.51 MB, free: 4.508 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.809/1.809, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001146/0.001146, allocations: 55.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, allocations: 46.64 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006297/0.1221, allocations: 3.097 MB / 330.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1244, allocations: 0.8239 MB / 331.3 MB, free: 420 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.1249, allocations: 7.938 kB / 331.3 MB, free: 412 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1252, allocations: 55.38 kB / 331.4 MB, free: 356 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1255, allocations: 114.9 kB / 331.5 MB, free: 240 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.1261, allocations: 151.7 kB / 331.6 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1266, allocations: 0.5308 MB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.1269, allocations: 172.2 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.1272, allocations: 215.3 kB / 332.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1275, allocations: 255 kB / 332.8 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.1277, allocations: 52 kB / 332.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1278, allocations: 56 kB / 332.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1279, allocations: 111.6 kB / 333 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1282, allocations: 242.8 kB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.1288, allocations: 0.5414 MB / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1288, allocations: 0 / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1288, allocations: 0 / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1288, allocations: 3.984 kB / 333.8 MB, free: 13.91 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.00182/0.1306, allocations: 0.7837 MB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/0.1307, allocations: 12.03 kB / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.1309, allocations: 74.72 kB / 334.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.131, allocations: 48.38 kB / 334.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.1315, allocations: 306.5 kB / 335 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.1316, allocations: 25.38 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.1317, allocations: 36.38 kB / 335.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1329, allocations: 0.5085 MB / 335.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1329, allocations: 0 / 335.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.133, allocations: 16 kB / 335.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.133, allocations: 8 kB / 335.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.1344, allocations: 0.4996 MB / 336.1 MB, free: 11.48 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.002983/0.1374, allocations: 1.686 MB / 337.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.1386, allocations: 419.7 kB / 338.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.1391, allocations: 245.4 kB / 338.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.1392, allocations: 12.31 kB / 338.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1392, allocations: 38.83 kB / 338.5 MB, free: 8.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.614e-06/0.1392, allocations: 4 kB / 338.5 MB, free: 8.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.005408/0.1447, allocations: 1.361 MB / 339.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1448, allocations: 158.2 kB / 340 MB, free: 7.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.1452, allocations: 263 kB / 340.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.1453, allocations: 45.69 kB / 340.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.1455, allocations: 204.3 kB / 340.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1457, allocations: 134 kB / 340.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1459, allocations: 74.12 kB / 340.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.1461, allocations: 346.8 kB / 341 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1467, allocations: 184.7 kB / 341.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.1473, allocations: 278.5 kB / 341.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1484, allocations: 426.5 kB / 341.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1484, allocations: 8 kB / 341.9 MB, free: 5.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001941/0.1504, allocations: 0.678 MB / 342.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.1504, allocations: 4 kB / 342.6 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1505, allocations: 4 kB / 342.6 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.152, allocations: 325.4 kB / 342.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1524, allocations: 79.88 kB / 343 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.1541, allocations: 1.347 MB / 344.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.1546, allocations: 75.56 kB / 344.4 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.1546, allocations: 23.98 kB / 344.4 MB, free: 2.723 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.0002386/0.1548, allocations: 157.8 kB / 344.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.1549, allocations: 35.62 kB / 344.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.1571, allocations: 0.7238 MB / 345.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1572, allocations: 4 kB / 345.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1572, allocations: 0 / 345.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.1572, allocations: 3.984 kB / 345.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.158, allocations: 465 kB / 345.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.158, allocations: 0 / 345.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1583, allocations: 56.08 kB / 345.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.1596, allocations: 329.3 kB / 346.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.1596, allocations: 15.92 kB / 346.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.1613, allocations: 1.358 MB / 347.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1614, allocations: 0 / 347.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.1642, allocations: 1.023 MB / 348.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1644, allocations: 108.6 kB / 348.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.1644, allocations: 16 kB / 348.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.1648, allocations: 43.94 kB / 348.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1649, allocations: 23.97 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.165, allocations: 8 kB / 348.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004034/0.1654, allocations: 193.9 kB / 349 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1654, allocations: 0 / 349 MB, free: 14.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1659, allocations: 119.7 kB / 349.1 MB, free: 13.89 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.003048/0.1689, allocations: 1.556 MB / 350.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.1706, allocations: 488.2 kB / 351.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1706, allocations: 0 / 351.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.1712, allocations: 259.6 kB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.1718, allocations: 48.14 kB / 351.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.18, allocations: 4.056 MB / 355.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.1805, allocations: 0.7995 MB / 356.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.1807, allocations: 34.95 kB / 356.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1809, allocations: 115.4 kB / 356.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1809, allocations: 0 / 356.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.2169, allocations: 9.152 MB / 365.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.07, allocations: 8.016 kB / 365.6 MB, free: 13.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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