Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_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.001468/0.001468, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001384/0.001384, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 43.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 49.44 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005708/0.2955, allocations: 3.663 MB / 403.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2977, allocations: 1.009 MB / 404.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.2979, allocations: 15.94 kB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.2982, allocations: 103.1 kB / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007533/0.299, allocations: 230.7 kB / 405.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2994, allocations: 139.7 kB / 405.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3005, allocations: 0.9495 MB / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.3013, allocations: 0.5926 MB / 407 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.3019, allocations: 410.6 kB / 407.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.3026, allocations: 494.1 kB / 407.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.3028, allocations: 107.9 kB / 407.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3029, allocations: 100 kB / 408 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.3033, allocations: 279.2 kB / 408.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.3038, allocations: 473.8 kB / 408.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3054, allocations: 1.288 MB / 410.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.3054, allocations: 3.984 kB / 410.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3054, allocations: 0 / 410.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.3055, allocations: 0 / 410.1 MB, free: 14.97 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002479/0.3079, allocations: 1.192 MB / 411.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.308, allocations: 11.89 kB / 411.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.3082, allocations: 114.7 kB / 411.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.3084, allocations: 96.38 kB / 411.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.3095, allocations: 0.6393 MB / 412.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.3096, allocations: 53.25 kB / 412.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3097, allocations: 71.98 kB / 412.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.3113, allocations: 0.9111 MB / 413.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.3113, allocations: 7.969 kB / 413.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.3114, allocations: 28 kB / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.3115, allocations: 33.31 kB / 413.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.3129, allocations: 0.7897 MB / 414 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.3173, allocations: 2.78 MB / 416.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3183, allocations: 0.7453 MB / 417.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.319, allocations: 345.2 kB / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.319, allocations: 12.27 kB / 417.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.3197, allocations: 377.9 kB / 418.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.3197, allocations: 0 / 418.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.003072/0.3228, allocations: 1.232 MB / 419.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3229, allocations: 118.7 kB / 419.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.3237, allocations: 0.5683 MB / 420.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.3237, allocations: 37.73 kB / 420.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.3241, allocations: 368.6 kB / 420.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.3242, allocations: 142.8 kB / 420.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3244, allocations: 90.25 kB / 420.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3246, allocations: 358.8 kB / 421.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.325, allocations: 221 kB / 421.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.3255, allocations: 353.7 kB / 421.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.3264, allocations: 0.5692 MB / 422.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3265, allocations: 3.984 kB / 422.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001325/0.3278, allocations: 0.7513 MB / 423 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3278, allocations: 8 kB / 423 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3278, allocations: 4 kB / 423 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.3284, allocations: 204.7 kB / 423.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3287, allocations: 76.08 kB / 423.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/0.3326, allocations: 3.044 MB / 426.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.333, allocations: 59.83 kB / 426.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3331, allocations: 24 kB / 426.4 MB, free: 13.93 MB / 350.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_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.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 (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005245/0.3336, allocations: 325.5 kB / 426.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.3337, allocations: 51.67 kB / 426.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3339, allocations: 73.27 kB / 426.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3339, allocations: 4 kB / 426.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3339, allocations: 3.938 kB / 426.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3339, allocations: 4 kB / 426.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.3366, allocations: 1.736 MB / 428.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3366, allocations: 0 / 428.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3369, allocations: 56.03 kB / 428.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.3374, allocations: 200.7 kB / 428.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3374, allocations: 8 kB / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.3408, allocations: 2.914 MB / 431.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3408, allocations: 3.938 kB / 431.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3428, allocations: 1.156 MB / 433 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.3431, allocations: 192.7 kB / 433.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.3432, allocations: 4 kB / 433.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3434, allocations: 27.97 kB / 433.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3436, allocations: 39.94 kB / 433.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.3436, allocations: 19.98 kB / 433.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005868/0.3442, allocations: 414.8 kB / 433.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.3442, allocations: 4 kB / 433.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007941/0.345, allocations: 211.5 kB / 433.9 MB, free: 6.258 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].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 (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.002317/0.3473, allocations: 1.702 MB / 435.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3489, allocations: 0.7362 MB / 436.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3489, allocations: 0 / 436.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.3497, allocations: 479.1 kB / 436.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.3504, allocations: 149.7 kB / 436.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.3614, allocations: 6.548 MB / 443.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.3623, allocations: 1.074 MB / 444.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.3626, allocations: 96.72 kB / 444.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.363, allocations: 247.3 kB / 444.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.363, allocations: 0 / 444.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05073/0.4137, allocations: 16.4 MB / 461.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.85, allocations: 7.484 kB / 461.3 MB, free: 10.9 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches