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.001112/0.001112, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001129/0.00113, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.438/1.438, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001315/0.001315, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09134, allocations: 46.61 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004434/0.09582, allocations: 3.1 MB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.09757, allocations: 0.8275 MB / 378.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.0979, allocations: 11.94 kB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.09822, allocations: 59.36 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.09856, allocations: 115 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.09907, allocations: 147.7 kB / 378.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.09978, allocations: 0.5307 MB / 379.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.1002, allocations: 164.3 kB / 379.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.202/0.3022, allocations: 210.7 kB / 379.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.3027, allocations: 255 kB / 380 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3028, allocations: 50.88 kB / 380.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.303, allocations: 58.44 kB / 380.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3031, allocations: 109.2 kB / 380.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.3034, allocations: 248.1 kB / 380.5 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.3041, allocations: 0.5515 MB / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3041, allocations: 0 / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3041, allocations: 1.031 kB / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3042, allocations: 3.531 kB / 381.1 MB, free: 9.309 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.001487/0.3057, allocations: 0.7985 MB / 381.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3057, allocations: 9.625 kB / 381.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.744e-05/0.3058, allocations: 76.56 kB / 381.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.3059, allocations: 48.53 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.3064, allocations: 308 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.3064, allocations: 30.56 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/0.3065, allocations: 37.22 kB / 382.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3078, allocations: 0.4999 MB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3079, allocations: 2.625 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.3079, allocations: 16.44 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3079, allocations: 8.781 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.3093, allocations: 0.4999 MB / 383.4 MB, free: 8.414 MB / 318.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.002544/0.3119, allocations: 1.673 MB / 385.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.313, allocations: 422.3 kB / 385.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.3135, allocations: 241.9 kB / 385.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.3136, allocations: 13.55 kB / 385.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.3136, allocations: 40.66 kB / 385.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.3136, allocations: 0 / 385.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00499/0.3186, allocations: 1.367 MB / 387.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3187, allocations: 163.6 kB / 387.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.3191, allocations: 265.6 kB / 387.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3192, allocations: 36.48 kB / 387.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3193, allocations: 215.2 kB / 387.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3195, allocations: 137 kB / 387.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3196, allocations: 80.28 kB / 388 MB, free: 6.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.3197, allocations: 343.7 kB / 388.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.3203, allocations: 180.8 kB / 388.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.3209, allocations: 279.3 kB / 388.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.322, allocations: 433.3 kB / 389.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.322, allocations: 0 / 389.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00202/0.324, allocations: 0.6817 MB / 389.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.324, allocations: 7.797 kB / 389.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3241, allocations: 1.219 kB / 389.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.3254, allocations: 324.6 kB / 390.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.3258, allocations: 80.77 kB / 390.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.3269, allocations: 1.341 MB / 391.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.3274, allocations: 82.48 kB / 391.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.3275, allocations: 16.94 kB / 391.7 MB, free: 3.918 MB / 318.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.0002224/0.3277, allocations: 159.5 kB / 391.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.3278, allocations: 37.28 kB / 391.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.33, allocations: 0.7318 MB / 392.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.33, allocations: 8.547 kB / 392.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.33, allocations: 2.812 kB / 392.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.3301, allocations: 5.25 kB / 392.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.3307, allocations: 468.2 kB / 393.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3307, allocations: 0 / 393.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.331, allocations: 59.09 kB / 393.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.3322, allocations: 321 kB / 393.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3323, allocations: 12.52 kB / 393.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.3333, allocations: 1.357 MB / 394.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3333, allocations: 0 / 394.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.3359, allocations: 1.02 MB / 395.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.336, allocations: 111.3 kB / 396 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.3361, allocations: 11.55 kB / 396 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.3365, allocations: 44.97 kB / 396.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.3366, allocations: 24.58 kB / 396.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.3366, allocations: 8.703 kB / 396.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.3369, allocations: 193.9 kB / 396.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.3369, allocations: 0 / 396.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.3373, allocations: 118.6 kB / 396.4 MB, free: 1.234 MB / 318.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.002751/0.3401, allocations: 1.564 MB / 398 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.3414, allocations: 483.4 kB / 398.4 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3415, allocations: 1.375 kB / 398.4 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.3421, allocations: 255.8 kB / 398.7 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3425, allocations: 49.78 kB / 398.7 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/0.3505, allocations: 4.045 MB / 402.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.351, allocations: 0.7966 MB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.3512, allocations: 30.58 kB / 403.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3514, allocations: 123.2 kB / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3514, allocations: 0 / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09039/0.4418, allocations: 9.319 MB / 413 MB, free: 7.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.67, allocations: 23.91 kB / 413.1 MB, free: 7.797 MB / 334.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