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.001128/0.001129, 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.001162/0.001162, 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.377/1.377, 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.001285/0.001286, allocations: 51.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09158, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005339/0.09694, allocations: 3.62 MB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.09916, allocations: 1.053 MB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.09965, allocations: 15.94 kB / 379.4 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.1001, allocations: 111.1 kB / 379.5 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009839/0.1011, allocations: 234.6 kB / 379.7 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1884/0.2896, allocations: 134.3 kB / 379.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2907, allocations: 0.9653 MB / 380.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.2913, allocations: 0.5565 MB / 381.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.2918, allocations: 405.9 kB / 381.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.2925, allocations: 492.1 kB / 382.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2927, allocations: 100.2 kB / 382.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.2928, allocations: 98.62 kB / 382.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.2931, allocations: 279.6 kB / 382.7 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.2935, allocations: 468.7 kB / 383.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.2949, allocations: 1.281 MB / 384.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2949, allocations: 0.6094 kB / 384.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2949, allocations: 0 / 384.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.2949, allocations: 1.906 kB / 384.4 MB, free: 8.668 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.001937/0.2968, allocations: 1.175 MB / 385.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2969, allocations: 16.77 kB / 385.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.297, allocations: 112.4 kB / 385.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2972, allocations: 97.91 kB / 385.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.2981, allocations: 0.6004 MB / 386.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.2981, allocations: 52.83 kB / 386.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2982, allocations: 70.05 kB / 386.5 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.2996, allocations: 0.908 MB / 387.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2997, allocations: 5.016 kB / 387.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.2997, allocations: 28.86 kB / 387.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.2998, allocations: 30.38 kB / 387.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3011, allocations: 0.7825 MB / 388.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.3048, allocations: 2.759 MB / 391.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008444/0.3057, allocations: 0.7473 MB / 391.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.3062, allocations: 346 kB / 392.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.3063, allocations: 7.688 kB / 392.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.3069, allocations: 378.3 kB / 392.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.3069, allocations: 4.406 kB / 392.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002578/0.3095, allocations: 1.191 MB / 393.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3095, allocations: 113 kB / 393.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.3103, allocations: 0.5656 MB / 394.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.3103, allocations: 37.09 kB / 394.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3105, allocations: 361.7 kB / 394.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.3107, allocations: 145.6 kB / 394.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3108, allocations: 87.25 kB / 395 MB, free: 2.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.3109, allocations: 362.8 kB / 395.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.3113, allocations: 217.8 kB / 395.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.3117, allocations: 364.5 kB / 395.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.3124, allocations: 0.5686 MB / 396.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3124, allocations: 0 / 396.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001101/0.3135, allocations: 0.7543 MB / 397.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3136, allocations: 7.312 kB / 397.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3136, allocations: 4.562 kB / 397.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.3141, allocations: 201.1 kB / 397.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.3144, allocations: 79.39 kB / 397.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.3171, allocations: 2.927 MB / 400.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.3175, allocations: 55.2 kB / 400.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.3175, allocations: 27.92 kB / 400.5 MB, free: 15.39 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.0004546/0.318, allocations: 330.7 kB / 400.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.3181, allocations: 59.12 kB / 400.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3182, allocations: 69.47 kB / 401 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3182, allocations: 4.906 kB / 401 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3183, allocations: 5.125 kB / 401 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3183, allocations: 2.672 kB / 401 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.3207, allocations: 1.625 MB / 402.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3207, allocations: 0 / 402.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.321, allocations: 47.31 kB / 402.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.3214, allocations: 196.2 kB / 402.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.3215, allocations: 14.23 kB / 402.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.3246, allocations: 2.919 MB / 405.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3246, allocations: 5.688 kB / 405.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3263, allocations: 1.095 MB / 406.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.3267, allocations: 201 kB / 407.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3268, allocations: 16.38 kB / 407.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.3271, allocations: 23.81 kB / 407.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3273, allocations: 47.17 kB / 407.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.3273, allocations: 17.89 kB / 407.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005755/0.3279, allocations: 420.7 kB / 407.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3279, allocations: 0 / 407.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008192/0.3287, allocations: 204.8 kB / 407.8 MB, free: 10.36 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.002046/0.3308, allocations: 1.658 MB / 409.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.3322, allocations: 0.7337 MB / 410.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3323, allocations: 256 / 410.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.333, allocations: 465.9 kB / 410.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.3338, allocations: 159.4 kB / 410.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.3446, allocations: 6.514 MB / 417.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.3453, allocations: 1.066 MB / 418.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.3456, allocations: 92.72 kB / 418.5 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.346, allocations: 247.3 kB / 418.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.346, allocations: 0 / 418.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.3887, allocations: 16.37 MB / 435.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.2, allocations: 12.92 kB / 435.1 MB, free: 1.309 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