Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002271/0.002271, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2892, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005599/0.2948, allocations: 3.697 MB / 412.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2973, allocations: 1.083 MB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.2977, allocations: 15.94 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.2979, allocations: 107.1 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.2987, allocations: 222.6 kB / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2991, allocations: 167.7 kB / 414.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3002, allocations: 0.9612 MB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.301, allocations: 0.6082 MB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.3016, allocations: 418.5 kB / 416 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006659/0.3022, allocations: 0.4903 MB / 416.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3024, allocations: 104 kB / 416.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.3026, allocations: 103.9 kB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.3028, allocations: 283.2 kB / 417 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.3033, allocations: 481.8 kB / 417.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3047, allocations: 1.307 MB / 418.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3047, allocations: 4 kB / 418.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3047, allocations: 0 / 418.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3047, allocations: 3.938 kB / 418.8 MB, free: 7.469 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.0022/0.3069, allocations: 1.2 MB / 420 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.307, allocations: 12.03 kB / 420 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.3072, allocations: 110.7 kB / 420.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.3076, allocations: 124.3 kB / 420.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3086, allocations: 0.6688 MB / 420.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.3087, allocations: 49.31 kB / 421 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3088, allocations: 68 kB / 421 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.3104, allocations: 0.9189 MB / 421.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3104, allocations: 0 / 421.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.3105, allocations: 31.98 kB / 422 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.3106, allocations: 29.3 kB / 422 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.3119, allocations: 0.8052 MB / 422.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.3162, allocations: 2.788 MB / 425.6 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3173, allocations: 0.7427 MB / 426.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.3179, allocations: 337.3 kB / 426.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3179, allocations: 4.328 kB / 426.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00066/0.3186, allocations: 389.8 kB / 427.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.3186, allocations: 0 / 427.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002964/0.3216, allocations: 1.225 MB / 428.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.3217, allocations: 114.5 kB / 428.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.3225, allocations: 0.5918 MB / 429 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.3226, allocations: 41.73 kB / 429 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.3229, allocations: 368.6 kB / 429.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3231, allocations: 142.8 kB / 429.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3232, allocations: 90.25 kB / 429.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3234, allocations: 366.8 kB / 430 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3238, allocations: 217 kB / 430.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.3243, allocations: 361.7 kB / 430.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.3252, allocations: 0.5739 MB / 431.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3252, allocations: 4 kB / 431.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00135/0.3266, allocations: 0.7515 MB / 431.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3266, allocations: 8 kB / 431.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3266, allocations: 4 kB / 431.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.3272, allocations: 204.7 kB / 432.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3275, allocations: 80.08 kB / 432.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003786/0.3313, allocations: 3.032 MB / 435.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.3318, allocations: 59.83 kB / 435.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.3318, allocations: 20 kB / 435.3 MB, free: 6.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.3324, allocations: 333.5 kB / 435.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3325, allocations: 59.62 kB / 435.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3326, allocations: 69.42 kB / 435.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3326, allocations: 4 kB / 435.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3326, allocations: 0 / 435.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3327, allocations: 3.984 kB / 435.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.3356, allocations: 1.745 MB / 437.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3356, allocations: 0 / 437.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3359, allocations: 51.94 kB / 437.5 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.3364, allocations: 200.8 kB / 437.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3364, allocations: 11.94 kB / 437.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/0.3399, allocations: 2.912 MB / 440.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.34, allocations: 3.938 kB / 440.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3419, allocations: 1.147 MB / 441.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.3422, allocations: 196.7 kB / 442 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.3422, allocations: 12 kB / 442 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3425, allocations: 27.97 kB / 442 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3427, allocations: 43.72 kB / 442.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3427, allocations: 12 kB / 442.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005847/0.3433, allocations: 430.8 kB / 442.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3433, allocations: 11.88 kB / 442.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007863/0.3441, allocations: 211.5 kB / 442.7 MB, free: 14.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/0.3463, allocations: 1.71 MB / 444.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3477, allocations: 0.7325 MB / 445.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3477, allocations: 0 / 445.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.3484, allocations: 475.2 kB / 445.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.3491, allocations: 157.7 kB / 445.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/0.359, allocations: 6.646 MB / 452.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/0.3598, allocations: 1.074 MB / 453.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.3601, allocations: 100.8 kB / 453.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.3605, allocations: 251.3 kB / 453.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3605, allocations: 0 / 453.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.4223, allocations: 16.68 MB / 470.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.25, allocations: 15.88 kB / 470.5 MB, free: 2.836 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches