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.001279/0.001279, allocations: 114.4 kB / 17.73 MB, free: 5.34 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.001249/0.001249, allocations: 187.1 kB / 18.66 MB, free: 4.414 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.598/1.598, 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.001687/0.001687, allocations: 55.94 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1172, allocations: 46.61 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005029/0.1223, allocations: 3.104 MB / 377.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1241, allocations: 0.8197 MB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1243, allocations: 8 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1245, allocations: 63.38 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1248, allocations: 110.9 kB / 378.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.1253, allocations: 143.7 kB / 378.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.1259, allocations: 0.5346 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.1262, allocations: 168.3 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2426/0.3688, allocations: 214 kB / 379.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.3693, allocations: 253.2 kB / 380 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3694, allocations: 51.91 kB / 380.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.3696, allocations: 54.66 kB / 380.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3697, allocations: 112.5 kB / 380.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.3699, allocations: 240.8 kB / 380.5 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.3707, allocations: 0.5548 MB / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3707, allocations: 0 / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3707, allocations: 0 / 381.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3707, allocations: 3.906 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.001576/0.3723, allocations: 0.7956 MB / 381.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3724, allocations: 12.53 kB / 381.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.112e-05/0.3725, allocations: 75.86 kB / 381.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3726, allocations: 48.86 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.3731, allocations: 308.9 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3731, allocations: 27.31 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.3732, allocations: 34.53 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3745, allocations: 0.5078 MB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3746, allocations: 0.6562 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.3746, allocations: 19.56 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3747, allocations: 9.234 kB / 382.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.3762, allocations: 0.5001 MB / 383.4 MB, free: 8.41 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.002625/0.3788, allocations: 1.672 MB / 385.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.38, allocations: 421.6 kB / 385.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.3806, allocations: 238.3 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.3806, allocations: 9.344 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3807, allocations: 39.77 kB / 385.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.346e-06/0.3807, allocations: 4.516 kB / 385.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005165/0.3858, allocations: 1.367 MB / 387.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3859, allocations: 163.1 kB / 387.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.3864, allocations: 268.5 kB / 387.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.3864, allocations: 36.11 kB / 387.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3865, allocations: 215.4 kB / 387.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.3866, allocations: 145.1 kB / 387.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3868, allocations: 75.52 kB / 388 MB, free: 6.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.3869, allocations: 338.8 kB / 388.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.3874, allocations: 188.5 kB / 388.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.388, allocations: 280.1 kB / 388.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3891, allocations: 423.2 kB / 389.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3891, allocations: 4 kB / 389.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001938/0.391, allocations: 0.6845 MB / 389.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3911, allocations: 10.62 kB / 389.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3911, allocations: 2.469 kB / 389.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.3925, allocations: 315.4 kB / 390.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.3929, allocations: 83.23 kB / 390.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.394, allocations: 1.344 MB / 391.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.3946, allocations: 83.86 kB / 391.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3946, allocations: 18.09 kB / 391.7 MB, free: 3.922 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.0002068/0.3948, allocations: 162.7 kB / 391.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3949, allocations: 37.11 kB / 391.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.3972, allocations: 0.7316 MB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3972, allocations: 4.125 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3972, allocations: 0.7031 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3972, allocations: 3.375 kB / 392.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.398, allocations: 472.4 kB / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.398, allocations: 0 / 393.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.3983, allocations: 58.34 kB / 393.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.3996, allocations: 319.4 kB / 393.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.3997, allocations: 8.031 kB / 393.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.4008, allocations: 1.362 MB / 394.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4008, allocations: 0 / 394.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.4034, allocations: 1.022 MB / 395.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4036, allocations: 116.3 kB / 396 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.4036, allocations: 7.688 kB / 396 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.404, allocations: 44.09 kB / 396.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.4041, allocations: 20.42 kB / 396.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.4041, allocations: 13.25 kB / 396.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.4044, allocations: 193 kB / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4044, allocations: 1.375 kB / 396.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004754/0.4049, allocations: 108.7 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.002896/0.4078, allocations: 1.568 MB / 398 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.4092, allocations: 480.2 kB / 398.4 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4093, allocations: 192 / 398.4 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.4099, allocations: 261.7 kB / 398.7 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.4104, allocations: 45.94 kB / 398.7 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/0.4186, allocations: 4.051 MB / 402.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.4191, allocations: 0.7927 MB / 403.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.4193, allocations: 32.36 kB / 403.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4195, allocations: 122.1 kB / 403.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4195, allocations: 0 / 403.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.4597, allocations: 9.323 MB / 413 MB, free: 7.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.74, allocations: 23.91 kB / 413.1 MB, free: 7.805 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