Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001099/0.001099, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001026/0.001026, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.517/1.517, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002473, allocations: 52.58 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1851, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.01123/0.1964, allocations: 4.542 MB / 354.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.2013, allocations: 1.208 MB / 355.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2026, allocations: 23.88 kB / 356 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.2036, allocations: 162.7 kB / 356.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.2063, allocations: 354 kB / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2075, allocations: 195.7 kB / 356.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004078/0.2116, allocations: 1.596 MB / 358.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.215, allocations: 1.102 MB / 359.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.2179, allocations: 0.6852 MB / 360 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.2208, allocations: 0.8445 MB / 360.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.2219, allocations: 176 kB / 361.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.223, allocations: 176 kB / 361.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.2244, allocations: 478.7 kB / 361.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.228, allocations: 0.7972 MB / 362.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.2329, allocations: 2.224 MB / 364.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2329, allocations: 3.938 kB / 364.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2329, allocations: 0 / 364.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.2331, allocations: 0 / 364.7 MB, free: 5.684 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.008463/0.2415, allocations: 1.774 MB / 366.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.2416, allocations: 11.89 kB / 366.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007212/0.2424, allocations: 160.8 kB / 366.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.2432, allocations: 159.1 kB / 366.8 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.2468, allocations: 0.9617 MB / 367.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.2469, allocations: 78.44 kB / 367.9 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.2474, allocations: 107.9 kB / 368 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.2526, allocations: 1.553 MB / 369.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/0.2527, allocations: 3.938 kB / 369.5 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.2529, allocations: 48 kB / 369.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/0.253, allocations: 38.05 kB / 369.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3487/0.6018, allocations: 1.429 MB / 371 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.6151, allocations: 4.926 MB / 376 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.6178, allocations: 1.456 MB / 377.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.6198, allocations: 0.7348 MB / 378.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.6199, allocations: 12.95 kB / 378.2 MB, free: 21.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.6217, allocations: 0.6076 MB / 378.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 5.82e-06/0.6217, allocations: 0 / 378.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.009855/0.6316, allocations: 2.438 MB / 381.2 MB, free: 20.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.6317, allocations: 90.61 kB / 381.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.6339, allocations: 0.937 MB / 382.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-05/0.634, allocations: 37.61 kB / 382.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.6346, allocations: 0.5331 MB / 382.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.6349, allocations: 228.5 kB / 383 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.6353, allocations: 135.9 kB / 383.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.6354, allocations: 328.4 kB / 383.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.6364, allocations: 416.5 kB / 383.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.6376, allocations: 0.5567 MB / 384.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.6398, allocations: 0.9461 MB / 385.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/0.6398, allocations: 1.125 kB / 385.4 MB, free: 17.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003556/0.6434, allocations: 1.286 MB / 386.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.6435, allocations: 6.406 kB / 386.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.6435, allocations: 4.031 kB / 386.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.6448, allocations: 404.3 kB / 387.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.6456, allocations: 118.4 kB / 387.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.6537, allocations: 4.51 MB / 391.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.655, allocations: 88.05 kB / 391.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.6551, allocations: 24.56 kB / 391.8 MB, free: 13.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001342/0.6565, allocations: 495.7 kB / 392.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.6568, allocations: 95.36 kB / 392.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.6572, allocations: 116.1 kB / 392.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6572, allocations: 10.81 kB / 392.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.6572, allocations: 5.312 kB / 392.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.6573, allocations: 7.984 kB / 392.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.6638, allocations: 2.588 MB / 395.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6639, allocations: 0 / 395.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.6645, allocations: 86.34 kB / 395.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.6657, allocations: 386.3 kB / 395.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.6658, allocations: 15.86 kB / 395.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007154/0.673, allocations: 4.482 MB / 400.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.673, allocations: 0 / 400.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/0.6773, allocations: 1.95 MB / 402 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/0.678, allocations: 291.7 kB / 402.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.6783, allocations: 12.88 kB / 402.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.6791, allocations: 47.94 kB / 402.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/0.6794, allocations: 80.48 kB / 402.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.6795, allocations: 23.98 kB / 402.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.681, allocations: 0.6669 MB / 403.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.681, allocations: 0 / 403.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001746/0.6827, allocations: 350.9 kB / 403.5 MB, free: 3.152 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004299/0.687, allocations: 2.539 MB / 406 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.6915, allocations: 1.432 MB / 407.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.6916, allocations: 1.531 kB / 407.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002621/0.6942, allocations: 0.8072 MB / 408.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.697, allocations: 250.6 kB / 408.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.7287, allocations: 11.33 MB / 419.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.731, allocations: 1.38 MB / 421.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.7322, allocations: 179.2 kB / 421.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.7333, allocations: 411.3 kB / 421.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of SimCode: time 1.853e-06/0.7333, allocations: 0 / 421.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.8419, allocations: 28.03 MB / 449.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/19.51, allocations: 12.72 kB / 449.8 MB, free: 4.898 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches