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.001618/0.001618, allocations: 112.7 kB / 17.73 MB, free: 5.355 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.001975/0.001975, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.516/1.516, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001432/0.001432, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08901, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005431/0.09449, allocations: 3.1 MB / 377.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.09643, allocations: 0.8197 MB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.0968, allocations: 8 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.09715, allocations: 67.36 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.09758, allocations: 114.9 kB / 378.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.09814, allocations: 143.7 kB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006728/0.09882, allocations: 0.5307 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.09919, allocations: 168.3 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2073/0.3065, allocations: 214.2 kB / 379.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.307, allocations: 251.5 kB / 380 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3071, allocations: 50.88 kB / 380.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3073, allocations: 58.28 kB / 380.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3074, allocations: 111.3 kB / 380.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.3076, allocations: 245.8 kB / 380.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.3084, allocations: 0.5446 MB / 381 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3084, allocations: 4.781 kB / 381.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3084, allocations: 0 / 381.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.3084, allocations: 3.812 kB / 381.1 MB, free: 9.324 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.001506/0.31, allocations: 0.7953 MB / 381.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.31, allocations: 10.62 kB / 381.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.3101, allocations: 79.5 kB / 381.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3103, allocations: 49.42 kB / 382 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.3109, allocations: 309.4 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3109, allocations: 26.38 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.311, allocations: 36.78 kB / 382.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3123, allocations: 0.5038 MB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.3124, allocations: 0.5625 kB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.3124, allocations: 14.66 kB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3124, allocations: 9.672 kB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3138, allocations: 0.5061 MB / 383.4 MB, free: 8.426 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.002702/0.3165, allocations: 1.674 MB / 385.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3178, allocations: 421 kB / 385.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.3183, allocations: 238.4 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.3184, allocations: 10.38 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3184, allocations: 38.7 kB / 385.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.3184, allocations: 4 kB / 385.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005079/0.3235, allocations: 1.371 MB / 387.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.3236, allocations: 159 kB / 387.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.324, allocations: 266.2 kB / 387.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.3241, allocations: 36.86 kB / 387.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3242, allocations: 214.8 kB / 387.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3243, allocations: 139.8 kB / 387.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3245, allocations: 75.69 kB / 388 MB, free: 6.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.3246, allocations: 340.7 kB / 388.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.3251, allocations: 190.7 kB / 388.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.3257, allocations: 278.7 kB / 388.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.3267, allocations: 424.7 kB / 389.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3267, allocations: 5.719 kB / 389.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00192/0.3287, allocations: 0.6804 MB / 389.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3287, allocations: 12.34 kB / 389.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3287, allocations: 2.469 kB / 389.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.33, allocations: 318.9 kB / 390.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3304, allocations: 77.52 kB / 390.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.3315, allocations: 1.349 MB / 391.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.332, allocations: 79.08 kB / 391.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3321, allocations: 15.84 kB / 391.7 MB, free: 3.926 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.0002163/0.3323, allocations: 166.7 kB / 391.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.3324, allocations: 37.08 kB / 391.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.3345, allocations: 0.7345 MB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3346, allocations: 3.625 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3346, allocations: 1.125 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3346, allocations: 2.719 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3352, allocations: 472.1 kB / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3353, allocations: 0 / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3356, allocations: 58.86 kB / 393.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.3368, allocations: 319.3 kB / 393.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.3369, allocations: 8.391 kB / 393.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.3379, allocations: 1.36 MB / 394.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.338, allocations: 1.188 kB / 394.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.3406, allocations: 1.022 MB / 395.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3407, allocations: 111.7 kB / 396 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.3408, allocations: 10.83 kB / 396 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3412, allocations: 41.81 kB / 396.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.3413, allocations: 24.42 kB / 396.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.3413, allocations: 13.45 kB / 396.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3416, allocations: 194.1 kB / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3416, allocations: 0 / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000501/0.3421, allocations: 108.9 kB / 396.4 MB, free: 1.242 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.002973/0.3451, allocations: 1.57 MB / 398 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.3466, allocations: 475.5 kB / 398.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3467, allocations: 0 / 398.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.3474, allocations: 258.1 kB / 398.7 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3479, allocations: 53.23 kB / 398.7 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.3562, allocations: 4.055 MB / 402.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.3568, allocations: 0.793 MB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.357, allocations: 30.16 kB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3572, allocations: 122.1 kB / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3572, allocations: 0 / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.4022, allocations: 9.324 MB / 413 MB, free: 7.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.36, allocations: 15.91 kB / 413.1 MB, free: 7.836 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