Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.83 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 50.55 MB / 408.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004152/0.2505, allocations: 3.157 MB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2521, allocations: 0.8507 MB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.2524, allocations: 4 kB / 412.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.2527, allocations: 63.31 kB / 412.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.253, allocations: 114.9 kB / 413 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.2534, allocations: 159.7 kB / 413.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.254, allocations: 0.5502 MB / 413.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.2543, allocations: 168.3 kB / 413.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.2547, allocations: 231.2 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.2551, allocations: 251 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.2552, allocations: 52 kB / 414.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.2553, allocations: 63.98 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2554, allocations: 107.7 kB / 414.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.2557, allocations: 246.8 kB / 414.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.2563, allocations: 0.5555 MB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2564, allocations: 0 / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2564, allocations: 0 / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.2564, allocations: 4 kB / 415.3 MB, free: 11.07 MB / 334.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.001718/0.2581, allocations: 0.8027 MB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2582, allocations: 8.031 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.2583, allocations: 74.72 kB / 416.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2585, allocations: 68.59 kB / 416.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.259, allocations: 323.5 kB / 416.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.259, allocations: 29.38 kB / 416.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.2591, allocations: 44.25 kB / 416.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2603, allocations: 0.5007 MB / 417.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2603, allocations: 0 / 417.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.2603, allocations: 16 kB / 417.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2604, allocations: 8 kB / 417.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2617, allocations: 0.5074 MB / 417.7 MB, free: 8.578 MB / 334.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.002838/0.2646, allocations: 1.659 MB / 419.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2657, allocations: 419.7 kB / 419.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.2663, allocations: 250.4 kB / 420 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2663, allocations: 8.312 kB / 420 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2664, allocations: 38.89 kB / 420 MB, free: 6.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.2664, allocations: 0 / 420 MB, free: 6.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005055/0.2714, allocations: 1.369 MB / 421.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.2716, allocations: 162.2 kB / 421.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.272, allocations: 271 kB / 421.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.2721, allocations: 33.7 kB / 421.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2722, allocations: 212.7 kB / 422.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2724, allocations: 146.8 kB / 422.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.2725, allocations: 78.12 kB / 422.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2727, allocations: 334.8 kB / 422.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.2733, allocations: 188.7 kB / 422.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.2739, allocations: 278.5 kB / 423.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.2748, allocations: 426.5 kB / 423.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2749, allocations: 3.938 kB / 423.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001924/0.2768, allocations: 0.6859 MB / 424.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.2768, allocations: 8 kB / 424.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2768, allocations: 0 / 424.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.2782, allocations: 329.4 kB / 424.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.2786, allocations: 75.88 kB / 424.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2799, allocations: 1.347 MB / 425.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.2804, allocations: 79.83 kB / 426 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.2805, allocations: 12 kB / 426 MB, free: 15.81 MB / 350.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.0002159/0.2807, allocations: 161.7 kB / 426.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.2808, allocations: 39.8 kB / 426.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.2829, allocations: 0.7279 MB / 427 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.283, allocations: 4 kB / 427 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.283, allocations: 0 / 427 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.283, allocations: 3.984 kB / 427 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.2836, allocations: 469.1 kB / 427.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2836, allocations: 0 / 427.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.2839, allocations: 59.89 kB / 427.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.2851, allocations: 321.4 kB / 427.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2852, allocations: 11.98 kB / 427.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.2865, allocations: 1.359 MB / 429.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2865, allocations: 0 / 429.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.2892, allocations: 1.027 MB / 430.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2893, allocations: 124.8 kB / 430.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.2894, allocations: 8 kB / 430.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.2897, allocations: 39.95 kB / 430.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.2898, allocations: 27.73 kB / 430.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.2899, allocations: 12 kB / 430.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.2901, allocations: 197.9 kB / 430.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2901, allocations: 4 kB / 430.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.2906, allocations: 115.8 kB / 430.7 MB, free: 10.96 MB / 350.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.003053/0.2936, allocations: 1.566 MB / 432.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.295, allocations: 483.5 kB / 432.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.295, allocations: 0 / 432.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.2956, allocations: 247.8 kB / 433 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.296, allocations: 52.84 kB / 433 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/0.3035, allocations: 4.078 MB / 437.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3039, allocations: 0.7995 MB / 437.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.3041, allocations: 26.97 kB / 437.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3043, allocations: 123.4 kB / 438.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3043, allocations: 0 / 438.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3342, allocations: 9.4 MB / 447.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.25, allocations: 9 kB / 447.5 MB, free: 10.16 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches