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.001315/0.001315, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001344/0.001344, allocations: 181.8 kB / 23.72 MB, free: 4.699 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.00155/0.00155, allocations: 47.92 kB / 370.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 52.17 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004688/0.2867, allocations: 3.181 MB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2886, allocations: 0.7884 MB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.2889, allocations: 11.94 kB / 426.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.2892, allocations: 63.38 kB / 426.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.2894, allocations: 114.9 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.2899, allocations: 147.8 kB / 426.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.2905, allocations: 0.55 MB / 427.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.2908, allocations: 120.8 kB / 427.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.2911, allocations: 227.3 kB / 427.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.2915, allocations: 259 kB / 428.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.2916, allocations: 52 kB / 428.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2917, allocations: 52 kB / 428.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2918, allocations: 111.7 kB / 428.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.292, allocations: 242.8 kB / 428.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.2926, allocations: 0.553 MB / 429.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2927, allocations: 4 kB / 429.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2927, allocations: 0 / 429.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2927, allocations: 0 / 429.1 MB, free: 8.09 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.001681/0.2943, allocations: 0.7274 MB / 429.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.2944, allocations: 12.03 kB / 429.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.2945, allocations: 78.7 kB / 429.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2946, allocations: 52.59 kB / 429.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.2951, allocations: 256.8 kB / 430.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.2952, allocations: 29.38 kB / 430.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.2953, allocations: 36.38 kB / 430.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2964, allocations: 0.5085 MB / 430.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2964, allocations: 0 / 430.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.2964, allocations: 23.94 kB / 430.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2964, allocations: 8 kB / 430.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2978, allocations: 0.4918 MB / 431.3 MB, free: 5.789 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.00281/0.3006, allocations: 1.629 MB / 432.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3017, allocations: 399.7 kB / 433.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.3022, allocations: 221.4 kB / 433.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.3022, allocations: 8.312 kB / 433.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.3023, allocations: 46.81 kB / 433.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.3023, allocations: 0 / 433.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00495/0.3072, allocations: 1.21 MB / 434.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.3073, allocations: 162.2 kB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.3078, allocations: 272.2 kB / 435.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.3078, allocations: 33.69 kB / 435.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.308, allocations: 208.8 kB / 435.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3081, allocations: 142.7 kB / 435.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3083, allocations: 82.08 kB / 435.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3084, allocations: 350.8 kB / 436 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.3089, allocations: 176.8 kB / 436.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.3096, allocations: 278.5 kB / 436.5 MB, free: 348 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3106, allocations: 434.5 kB / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.3106, allocations: 0 / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001932/0.3125, allocations: 0.6743 MB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3125, allocations: 14.64 kB / 437.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3125, allocations: 0 / 437.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.3139, allocations: 325.4 kB / 437.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.3143, allocations: 75.88 kB / 438 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.3159, allocations: 1.354 MB / 439.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.3164, allocations: 71.75 kB / 439.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3164, allocations: 24.11 kB / 439.4 MB, free: 13.29 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.0002212/0.3166, allocations: 153.8 kB / 439.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.3167, allocations: 35.77 kB / 439.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.3189, allocations: 0.7162 MB / 440.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3189, allocations: 4 kB / 440.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.3189, allocations: 4 kB / 440.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.3189, allocations: 3.984 kB / 440.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.3195, allocations: 439.9 kB / 440.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3196, allocations: 0 / 440.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.3199, allocations: 59.89 kB / 440.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.3211, allocations: 325.4 kB / 441.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3211, allocations: 8 kB / 441.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.3225, allocations: 1.37 MB / 442.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3225, allocations: 0 / 442.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.3252, allocations: 1.012 MB / 443.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.3253, allocations: 35.7 kB / 443.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.3253, allocations: 8 kB / 443.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.3257, allocations: 48 kB / 443.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.3258, allocations: 23.95 kB / 443.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3258, allocations: 12 kB / 443.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.3261, allocations: 191.1 kB / 443.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3261, allocations: 0 / 443.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.3265, allocations: 115.8 kB / 443.9 MB, free: 8.609 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.003126/0.3297, allocations: 1.566 MB / 445.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3311, allocations: 455.8 kB / 446 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3311, allocations: 0 / 446 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.3317, allocations: 240 kB / 446.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.3322, allocations: 51.88 kB / 446.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/0.3401, allocations: 4.07 MB / 450.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.3405, allocations: 0.7956 MB / 451.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.3406, allocations: 34.97 kB / 451.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3408, allocations: 115.4 kB / 451.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3408, allocations: 0 / 451.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.3819, allocations: 9.806 MB / 461.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.6, allocations: 3.438 kB / 461.1 MB, free: 7.461 MB / 366.1 MB " [Timeout remaining time 646] (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.192032430000836]