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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.00237/0.00237, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009858, allocations: 51.86 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2738, allocations: 49.42 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00478/0.2787, allocations: 3.137 MB / 403.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2804, allocations: 0.804 MB / 404.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.2806, allocations: 7.938 kB / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.2808, allocations: 55.38 kB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.2811, allocations: 114.9 kB / 404.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.2815, allocations: 147.7 kB / 404.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.282, allocations: 0.5464 MB / 405 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.2823, allocations: 160.4 kB / 405.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.2826, allocations: 219.3 kB / 405.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.283, allocations: 258.9 kB / 405.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.283, allocations: 52 kB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2832, allocations: 60 kB / 405.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.2833, allocations: 107.7 kB / 405.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.2835, allocations: 246.8 kB / 406.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.2841, allocations: 0.5545 MB / 406.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2841, allocations: 0 / 406.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2841, allocations: 3.938 kB / 406.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2841, allocations: 0 / 406.7 MB, free: 2.344 MB / 318.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.001643/0.2858, allocations: 0.7876 MB / 407.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2858, allocations: 12.03 kB / 407.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.2859, allocations: 78.7 kB / 407.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.286, allocations: 48.38 kB / 407.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.2865, allocations: 302.5 kB / 407.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.2865, allocations: 29.38 kB / 407.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.2866, allocations: 40.38 kB / 408 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2877, allocations: 0.5085 MB / 408.5 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.2878, allocations: 7.891 kB / 408.5 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.2878, allocations: 16 kB / 408.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2878, allocations: 11.94 kB / 408.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.2892, allocations: 0.4996 MB / 409 MB, free: 15.89 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.00253/0.2917, allocations: 1.655 MB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2928, allocations: 419.7 kB / 411.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.2934, allocations: 246.6 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.2934, allocations: 16.31 kB / 411.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2935, allocations: 38.89 kB / 411.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.2935, allocations: 0 / 411.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004878/0.2984, allocations: 1.357 MB / 412.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.2985, allocations: 166.2 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.2988, allocations: 274.9 kB / 413.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.2989, allocations: 33.7 kB / 413.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.299, allocations: 208.3 kB / 413.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2991, allocations: 138 kB / 413.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.2993, allocations: 78.05 kB / 413.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2994, allocations: 342.8 kB / 413.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.2999, allocations: 188.7 kB / 414.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.3005, allocations: 278.5 kB / 414.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.3014, allocations: 430.5 kB / 414.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3015, allocations: 0 / 414.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001801/0.3033, allocations: 0.678 MB / 415.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3033, allocations: 8 kB / 415.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3033, allocations: 0 / 415.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.3046, allocations: 325.4 kB / 415.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.305, allocations: 75.88 kB / 415.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3062, allocations: 1.351 MB / 417.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.3067, allocations: 75.64 kB / 417.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3067, allocations: 12 kB / 417.3 MB, free: 7.145 MB / 334.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.0002005/0.3069, allocations: 165.8 kB / 417.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.307, allocations: 35.53 kB / 417.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.3091, allocations: 0.7316 MB / 418.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3091, allocations: 4 kB / 418.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3091, allocations: 0 / 418.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3091, allocations: 0 / 418.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.3097, allocations: 480.7 kB / 418.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3097, allocations: 8.031 kB / 418.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.31, allocations: 59.88 kB / 418.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.3112, allocations: 321.4 kB / 419.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3112, allocations: 4 kB / 419.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3124, allocations: 1.366 MB / 420.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3124, allocations: 0 / 420.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.3149, allocations: 1.016 MB / 421.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.315, allocations: 116.5 kB / 421.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.3151, allocations: 11.98 kB / 421.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3154, allocations: 44.02 kB / 421.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3155, allocations: 19.97 kB / 421.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3155, allocations: 15.98 kB / 421.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.3158, allocations: 190 kB / 421.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3158, allocations: 0 / 421.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.3162, allocations: 111.8 kB / 422 MB, free: 2.305 MB / 334.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.0028/0.319, allocations: 1.576 MB / 423.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3203, allocations: 475.4 kB / 424 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3203, allocations: 4 kB / 424 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.3209, allocations: 256.2 kB / 424.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3213, allocations: 44.58 kB / 424.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.3285, allocations: 4.068 MB / 428.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3289, allocations: 0.7917 MB / 429.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.329, allocations: 30.98 kB / 429.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3292, allocations: 123.4 kB / 429.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3292, allocations: 0 / 429.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3627, allocations: 9.357 MB / 438.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.41, allocations: 11.89 kB / 438.7 MB, free: 1.543 MB / 350.1 MB (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.002 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) 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) Reference file matches