Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 114.4 kB / 17.74 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.001819/0.001819, 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.519/1.519, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001776/0.001776, allocations: 55.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1086, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006547/0.1152, allocations: 3.662 MB / 378.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1175, allocations: 0.959 MB / 379.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.1181, allocations: 11.94 kB / 379.3 MB, free: 408 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.1186, allocations: 75.23 kB / 379.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000712/0.1193, allocations: 150.7 kB / 379.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.1198, allocations: 151.8 kB / 379.7 MB, free: 28 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2288/0.3486, allocations: 0.6025 MB / 380.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.3491, allocations: 217.4 kB / 380.5 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.3495, allocations: 229 kB / 380.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3498, allocations: 242 kB / 380.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.3499, allocations: 55 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.35, allocations: 55.88 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3501, allocations: 122 kB / 381.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3503, allocations: 265.3 kB / 381.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008449/0.3512, allocations: 0.6297 MB / 382.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3512, allocations: 0.5 kB / 382.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3512, allocations: 0 / 382.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.3512, allocations: 0.5938 kB / 382.1 MB, free: 8.984 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001537/0.3528, allocations: 0.7864 MB / 382.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3528, allocations: 14.3 kB / 382.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.929e-05/0.3529, allocations: 80.69 kB / 382.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.353, allocations: 56.89 kB / 383 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.3535, allocations: 372.4 kB / 383.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3535, allocations: 32.5 kB / 383.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.3536, allocations: 40.59 kB / 383.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.3544, allocations: 458.2 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3544, allocations: 2 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.3545, allocations: 16.44 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3545, allocations: 14.77 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.3551, allocations: 317.1 kB / 384.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.3573, allocations: 1.817 MB / 386 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.358, allocations: 0.6078 MB / 386.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.3586, allocations: 279.6 kB / 386.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.3587, allocations: 5.422 kB / 386.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.3591, allocations: 271.2 kB / 387.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.3591, allocations: 0 / 387.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002311/0.3615, allocations: 0.8448 MB / 388 MB, free: 5.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3615, allocations: 87.16 kB / 388.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.3619, allocations: 320 kB / 388.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3619, allocations: 36.56 kB / 388.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.362, allocations: 214.6 kB / 388.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.3621, allocations: 138.4 kB / 388.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3623, allocations: 90.55 kB / 388.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.3623, allocations: 350.2 kB / 389.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.3626, allocations: 120 kB / 389.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3629, allocations: 254.1 kB / 389.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.3633, allocations: 377.9 kB / 390 MB, free: 4.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3634, allocations: 2.75 kB / 390 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00085/0.3642, allocations: 0.5085 MB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3642, allocations: 6.781 kB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3643, allocations: 6.562 kB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.3648, allocations: 154.7 kB / 390.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.365, allocations: 67.39 kB / 390.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3675, allocations: 2.54 MB / 393.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3678, allocations: 47.03 kB / 393.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.3679, allocations: 17.56 kB / 393.3 MB, free: 1.945 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0002174/0.3681, allocations: 176.5 kB / 393.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.3682, allocations: 39.92 kB / 393.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.094e-05/0.3683, allocations: 48.73 kB / 393.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3683, allocations: 4.469 kB / 393.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3683, allocations: 7.938 kB / 393.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3683, allocations: 3.328 kB / 393.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.3697, allocations: 1.02 MB / 394.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3697, allocations: 0 / 394.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3699, allocations: 35.44 kB / 394.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.3702, allocations: 155.2 kB / 394.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.3703, allocations: 10.72 kB / 394.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.3729, allocations: 2.541 MB / 397.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.373, allocations: 1.25 kB / 397.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3744, allocations: 0.7133 MB / 398.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.3746, allocations: 150.4 kB / 398.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.3747, allocations: 15.98 kB / 398.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3749, allocations: 17.69 kB / 398.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3751, allocations: 37.7 kB / 398.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3751, allocations: 14.56 kB / 398.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.3754, allocations: 221 kB / 398.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3754, allocations: 0 / 398.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007092/0.3761, allocations: 147.1 kB / 398.7 MB, free: 14.29 MB / 334.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001625/0.3778, allocations: 1.272 MB / 399.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3789, allocations: 0.5403 MB / 400.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.3789, allocations: 5.156 kB / 400.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.3796, allocations: 381.9 kB / 400.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.3802, allocations: 77.73 kB / 400.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.3867, allocations: 3.942 MB / 404.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.3874, allocations: 0.8314 MB / 405.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.3876, allocations: 36.42 kB / 405.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3879, allocations: 136 kB / 405.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3879, allocations: 0 / 405.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04944/0.4373, allocations: 10.76 MB / 416.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.58, allocations: 12.41 kB / 416.6 MB, free: 3.781 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches