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.001092/0.001092, allocations: 102.4 kB / 17.58 MB, free: 5.418 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.001075/0.001075, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.254/1.254, allocations: 205.1 MB / 224.4 MB, free: 12.28 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.001173/0.001173, allocations: 52.16 kB / 280.8 MB, free: 3.055 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06913/0.07032, allocations: 46.62 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004584/0.07494, allocations: 3.62 MB / 331 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.07655, allocations: 1.045 MB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.07673, allocations: 15.88 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.07699, allocations: 107.1 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.07758, allocations: 226.7 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.07785, allocations: 147.7 kB / 332.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.07864, allocations: 0.9496 MB / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.07925, allocations: 0.561 MB / 334.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.0796, allocations: 398.7 kB / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.08017, allocations: 494.1 kB / 334.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.0803, allocations: 103.9 kB / 335 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.08046, allocations: 100 kB / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.0807, allocations: 275.3 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.0811, allocations: 465.8 kB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009101/0.08202, allocations: 1.266 MB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.08203, allocations: 4 kB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08204, allocations: 0 / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.08206, allocations: 0 / 337.1 MB, free: 10.57 MB / 286.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.001778/0.08384, allocations: 1.15 MB / 338.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.08388, allocations: 15.89 kB / 338.3 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.08402, allocations: 114.6 kB / 338.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.08416, allocations: 91.91 kB / 338.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.08489, allocations: 0.5961 MB / 339.1 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.08494, allocations: 49.3 kB / 339.1 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.08506, allocations: 67.98 kB / 339.2 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.08636, allocations: 0.8994 MB / 340.1 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.08639, allocations: 7.906 kB / 340.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.08646, allocations: 31.94 kB / 340.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.0865, allocations: 29.3 kB / 340.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.08771, allocations: 0.7819 MB / 341 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.09122, allocations: 2.795 MB / 343.7 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.09205, allocations: 0.7373 MB / 344.5 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.09262, allocations: 349.2 kB / 344.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.09266, allocations: 4.328 kB / 344.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/0.09324, allocations: 389.6 kB / 345.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.09326, allocations: 0 / 345.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002484/0.09575, allocations: 1.181 MB / 346.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.09582, allocations: 114.8 kB / 346.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.09641, allocations: 0.5644 MB / 347.1 MB, free: 252 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.09645, allocations: 33.7 kB / 347.1 MB, free: 212 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.09668, allocations: 356 kB / 347.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.09679, allocations: 138 kB / 347.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.09693, allocations: 94.25 kB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.09706, allocations: 362.8 kB / 348 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.09743, allocations: 224.9 kB / 348.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.09786, allocations: 361.7 kB / 348.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.09862, allocations: 0.5692 MB / 349.2 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.09863, allocations: 0 / 349.2 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001144/0.09978, allocations: 0.743 MB / 349.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.09981, allocations: 8 kB / 349.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.09983, allocations: 4.5 kB / 349.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.1003, allocations: 212.7 kB / 350.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1006, allocations: 79.83 kB / 350.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.1035, allocations: 2.928 MB / 353.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1038, allocations: 59.64 kB / 353.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1038, allocations: 16 kB / 353.2 MB, free: 9.801 MB / 302.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.0003294/0.1042, allocations: 325.5 kB / 353.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1043, allocations: 55.34 kB / 353.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1044, allocations: 73.27 kB / 353.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1044, allocations: 4 kB / 353.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1044, allocations: 4 kB / 353.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.1044, allocations: 7.922 kB / 353.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.1065, allocations: 1.625 MB / 355.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1065, allocations: 0 / 355.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1067, allocations: 47.95 kB / 355.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.1071, allocations: 204.8 kB / 355.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.1072, allocations: 12 kB / 355.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.11, allocations: 2.912 MB / 358.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.11, allocations: 0 / 358.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1115, allocations: 1.102 MB / 359.6 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1117, allocations: 192.4 kB / 359.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.1118, allocations: 11.98 kB / 359.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.1121, allocations: 23.98 kB / 359.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1122, allocations: 47.86 kB / 359.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.1123, allocations: 12 kB / 359.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000442/0.1127, allocations: 422.8 kB / 360.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1127, allocations: 0 / 360.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006614/0.1134, allocations: 203.3 kB / 360.5 MB, free: 2.293 MB / 302.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.001759/0.1152, allocations: 1.647 MB / 362.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.1164, allocations: 0.7837 MB / 362.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1164, allocations: 0 / 362.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.1171, allocations: 474.3 kB / 363.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.1178, allocations: 150.5 kB / 363.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.1258, allocations: 6.678 MB / 370.2 MB, free: 8.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.1264, allocations: 1.066 MB / 371.2 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.1266, allocations: 92.72 kB / 371.3 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.1269, allocations: 247.4 kB / 371.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1269, allocations: 0 / 371.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/0.2851, allocations: 16.05 MB / 387.6 MB, free: 51.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.77, allocations: 11.72 kB / 387.6 MB, free: 51.88 MB / 318.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