Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 64.03 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2685, allocations: 50.54 MB / 408.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005299/0.2738, allocations: 3.751 MB / 412.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2757, allocations: 0.9817 MB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.276, allocations: 15.94 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.2762, allocations: 79.16 kB / 413.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.2766, allocations: 138.7 kB / 413.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.277, allocations: 179.7 kB / 413.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.2777, allocations: 0.6187 MB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.2781, allocations: 215 kB / 414.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.2784, allocations: 239.1 kB / 415 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2787, allocations: 246.9 kB / 415.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.036e-05/0.2788, allocations: 56 kB / 415.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2789, allocations: 64 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2791, allocations: 123.6 kB / 415.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.2793, allocations: 274.6 kB / 415.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.28, allocations: 0.6459 MB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2801, allocations: 4 kB / 416.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2801, allocations: 0 / 416.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2801, allocations: 3.938 kB / 416.4 MB, free: 10.03 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001461/0.2816, allocations: 0.8188 MB / 417.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2816, allocations: 8.031 kB / 417.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.2817, allocations: 82.7 kB / 417.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2819, allocations: 64.59 kB / 417.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.2825, allocations: 377 kB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.2825, allocations: 37.31 kB / 417.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.2826, allocations: 56.11 kB / 417.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.2834, allocations: 457.6 kB / 418.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2835, allocations: 0 / 418.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.2835, allocations: 19.94 kB / 418.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2835, allocations: 12 kB / 418.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.2841, allocations: 323.8 kB / 418.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.2868, allocations: 1.848 MB / 420.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.2877, allocations: 0.613 MB / 421.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.2883, allocations: 272.9 kB / 421.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.2883, allocations: 8.328 kB / 421.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.2888, allocations: 273.2 kB / 421.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.2888, allocations: 0 / 421.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002298/0.2911, allocations: 0.8463 MB / 422.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.2912, allocations: 81.11 kB / 422.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.2916, allocations: 328.4 kB / 422.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.2917, allocations: 41.64 kB / 422.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.2919, allocations: 228.6 kB / 423.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.292, allocations: 146.8 kB / 423.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2922, allocations: 86.22 kB / 423.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2924, allocations: 346.8 kB / 423.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.2926, allocations: 125.1 kB / 423.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.2929, allocations: 249 kB / 424 MB, free: 1.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.2935, allocations: 378.4 kB / 424.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2935, allocations: 0 / 424.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009071/0.2945, allocations: 0.5135 MB / 424.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2945, allocations: 10.66 kB / 424.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2945, allocations: 7.938 kB / 424.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.295, allocations: 149 kB / 425.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.2952, allocations: 67.84 kB / 425.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.2984, allocations: 2.538 MB / 427.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2987, allocations: 47.67 kB / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.2987, allocations: 24.03 kB / 427.8 MB, free: 14 MB / 350.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: 13 (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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.299, allocations: 173.7 kB / 427.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.299, allocations: 43.7 kB / 428 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.2992, allocations: 48.41 kB / 428 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2992, allocations: 8 kB / 428 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2992, allocations: 0 / 428 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2992, allocations: 7.984 kB / 428 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.3008, allocations: 1.02 MB / 429.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3008, allocations: 11.92 kB / 429.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.301, allocations: 27.98 kB / 429.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.3014, allocations: 145 kB / 429.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.3014, allocations: 8 kB / 429.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.3043, allocations: 2.552 MB / 431.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3044, allocations: 3.938 kB / 431.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3055, allocations: 0.7063 MB / 432.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3057, allocations: 160.6 kB / 432.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.3057, allocations: 8.094 kB / 432.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.306, allocations: 19.98 kB / 432.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.3061, allocations: 43.88 kB / 432.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.3061, allocations: 12 kB / 432.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3064, allocations: 227 kB / 433 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3064, allocations: 0 / 433 MB, free: 8.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005927/0.307, allocations: 143.8 kB / 433.1 MB, free: 8.395 MB / 350.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.3085, allocations: 1.273 MB / 434.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3095, allocations: 0.5417 MB / 434.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3096, allocations: 0 / 434.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.3101, allocations: 391 kB / 435.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3106, allocations: 77.28 kB / 435.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005711/0.3163, allocations: 4.008 MB / 439.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.3168, allocations: 0.8318 MB / 440.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.317, allocations: 35.36 kB / 440.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.3172, allocations: 147.4 kB / 440.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3172, allocations: 0 / 440.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.3604, allocations: 10.95 MB / 451.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.86, allocations: 23.03 kB / 451.4 MB, free: 6.18 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_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_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches