Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 109.2 kB / 17.73 MB, free: 5.324 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.001189/0.001189, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.352/1.352, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001227/0.001227, allocations: 47.94 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07633, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004625/0.08099, allocations: 3.624 MB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.08291, allocations: 1.053 MB / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.08323, allocations: 11.94 kB / 379.3 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.08356, allocations: 103.1 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.08433, allocations: 226.7 kB / 379.7 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1621/0.2464, allocations: 140.3 kB / 379.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.2477, allocations: 0.9632 MB / 380.8 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.2485, allocations: 0.5602 MB / 381.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007754/0.2493, allocations: 401.3 kB / 381.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.2504, allocations: 493 kB / 382.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.2507, allocations: 103.7 kB / 382.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.251, allocations: 102.5 kB / 382.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.2514, allocations: 274.4 kB / 382.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008111/0.2522, allocations: 472.4 kB / 383.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2537, allocations: 1.273 MB / 384.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2537, allocations: 0 / 384.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.2537, allocations: 2.016 kB / 384.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.353e-05/0.2538, allocations: 0 / 384.4 MB, free: 8.676 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003693/0.2575, allocations: 1.158 MB / 385.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.2576, allocations: 12.67 kB / 385.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.2578, allocations: 116.1 kB / 385.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.2581, allocations: 90.08 kB / 385.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2593, allocations: 0.5983 MB / 386.4 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.2593, allocations: 47.12 kB / 386.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.2594, allocations: 67.84 kB / 386.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.2612, allocations: 0.9121 MB / 387.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.2612, allocations: 1.219 kB / 387.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.2613, allocations: 28.17 kB / 387.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.2614, allocations: 30.62 kB / 387.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2631, allocations: 0.7839 MB / 388.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.2677, allocations: 2.752 MB / 391 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.2687, allocations: 0.7513 MB / 391.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.2694, allocations: 341.4 kB / 392.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.2695, allocations: 9.109 kB / 392.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/0.2701, allocations: 378.8 kB / 392.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.2702, allocations: 0 / 392.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002749/0.2729, allocations: 1.188 MB / 393.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.273, allocations: 112.4 kB / 393.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.2738, allocations: 0.5669 MB / 394.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.2738, allocations: 40.67 kB / 394.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.274, allocations: 355 kB / 394.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.2741, allocations: 136.2 kB / 394.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2743, allocations: 91.91 kB / 394.9 MB, free: 3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.2744, allocations: 362.3 kB / 395.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.2748, allocations: 217.3 kB / 395.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.2752, allocations: 359.6 kB / 395.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.2761, allocations: 0.5698 MB / 396.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2761, allocations: 1.719 kB / 396.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001304/0.2774, allocations: 0.7508 MB / 397.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2774, allocations: 7.484 kB / 397.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2775, allocations: 4.125 kB / 397.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.278, allocations: 203 kB / 397.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.2783, allocations: 82.33 kB / 397.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.2812, allocations: 2.921 MB / 400.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.2816, allocations: 54.86 kB / 400.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2817, allocations: 21.02 kB / 400.5 MB, free: 15.47 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (44): * Single equations (assignments): 43 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.2822, allocations: 340.4 kB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2823, allocations: 54.44 kB / 400.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.2824, allocations: 65.86 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2825, allocations: 4.469 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2825, allocations: 2.562 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2825, allocations: 1.641 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.285, allocations: 1.629 MB / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2851, allocations: 0 / 402.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.2853, allocations: 50.81 kB / 402.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.2858, allocations: 200 kB / 402.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.2858, allocations: 7.281 kB / 402.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.2888, allocations: 2.914 MB / 405.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2888, allocations: 0 / 405.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.2905, allocations: 1.111 MB / 406.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.2908, allocations: 192.2 kB / 407 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.2909, allocations: 16.42 kB / 407 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.2912, allocations: 28.53 kB / 407.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2913, allocations: 42.72 kB / 407.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.2914, allocations: 18.08 kB / 407.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000531/0.2919, allocations: 416.1 kB / 407.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2919, allocations: 0.8125 kB / 407.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007577/0.2927, allocations: 200.9 kB / 407.7 MB, free: 10.47 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (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.001916/0.2946, allocations: 1.664 MB / 409.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.2959, allocations: 0.7196 MB / 410.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2959, allocations: 0 / 410.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.2966, allocations: 482.7 kB / 410.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.2973, allocations: 150.4 kB / 410.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009004/0.3063, allocations: 6.49 MB / 417.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.307, allocations: 1.066 MB / 418.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.3073, allocations: 96.72 kB / 418.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.3076, allocations: 239.4 kB / 418.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3076, allocations: 0 / 418.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.3489, allocations: 16.37 MB / 435 MB, free: 1.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.25, allocations: 4.875 kB / 435 MB, free: 1.465 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches